From 594519b0e3579baa60fc1580361fb29862752caf Mon Sep 17 00:00:00 2001 From: "Luiz R. Rodrigues" Date: Mon, 28 Sep 2020 20:49:44 -0300 Subject: [PATCH] Temporary hide MY ACTIVE CHALLENGES in Dashboard --- .../Dashboard/CurrentActivity/Header/index.jsx | 11 +++++++++-- src/shared/reducers/page/dashboard.js | 2 +- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/src/shared/components/Dashboard/CurrentActivity/Header/index.jsx b/src/shared/components/Dashboard/CurrentActivity/Header/index.jsx index e0615cfead..3b42ee67a5 100644 --- a/src/shared/components/Dashboard/CurrentActivity/Header/index.jsx +++ b/src/shared/components/Dashboard/CurrentActivity/Header/index.jsx @@ -9,13 +9,18 @@ import Option from './Option'; import './style.scss'; export default function Header({ - numChallenges, + // numChallenges, numCommunities, switchTab, tab, }) { + /** + * Temporary hide My Active Challenges - community-app#5004 + */ + /* let myChallengesTitle = 'My Active Challenges'; if (numChallenges) myChallengesTitle += ` (${numChallenges})`; + */ let myCommunitiesTitle = 'My Communities'; if (numCommunities) myCommunitiesTitle += ` (${numCommunities})`; @@ -25,11 +30,13 @@ export default function Header({ + {/* {/* Temporary hide My Active Challenges - community-app#5004