From 219565a847465e93fbafb68eb4d38a9687a83bc7 Mon Sep 17 00:00:00 2001 From: mgabdev <> Date: Mon, 9 Nov 2020 01:36:18 -0600 Subject: [PATCH] Removed testing from PopularLinksPanel MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit • Removed: - testing from PopularLinksPanel --- .../gabsocial/components/panel/popular_links_panel.js | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/app/javascript/gabsocial/components/panel/popular_links_panel.js b/app/javascript/gabsocial/components/panel/popular_links_panel.js index a700f98a..5c5b3f67 100644 --- a/app/javascript/gabsocial/components/panel/popular_links_panel.js +++ b/app/javascript/gabsocial/components/panel/popular_links_panel.js @@ -43,8 +43,7 @@ class PopularLinksPanel extends ImmutablePureComponent { const { fetched } = this.state const count = !!popularLinksItems ? popularLinksItems.count() : 0 - // : TESTING : - // if (count === 0 && fetched) return null + if (count === 0 && fetched) return null return (
- { /* + { popularLinksItems.map((id, i) => ( )) - */ } - - - + }
)