From 7213ca84061014aff82b6bae4c859ff533fd9a8c Mon Sep 17 00:00:00 2001 From: gets0ul Date: Fri, 16 Oct 2020 02:59:03 +0700 Subject: [PATCH] fix: empty values in dashboard sub-community --- src/shared/containers/Dashboard/index.jsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/shared/containers/Dashboard/index.jsx b/src/shared/containers/Dashboard/index.jsx index 552fa5cd59..d137ca7e74 100644 --- a/src/shared/containers/Dashboard/index.jsx +++ b/src/shared/containers/Dashboard/index.jsx @@ -150,8 +150,7 @@ export class DashboardPageContainer extends React.Component { // if (now - tcBlogTimestamp > CACHE_MAX_AGE // && !tcBlogLoading) getTopcoderBlogFeed(); - if (now - communitiesTimestamp < CACHE_MAX_AGE - && now - activeChallengesTimestamp < CACHE_MAX_AGE) { + if (now - communitiesTimestamp < CACHE_MAX_AGE) { updateCommunityStats(this.props); } }