From 3094602235b56da4f80ac07611de64520fe96797 Mon Sep 17 00:00:00 2001 From: Karishma Chadha Date: Mon, 17 May 2021 11:32:42 -0400 Subject: [PATCH] Remove end time for donate banner. --- src/views/splash/splash.jsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/views/splash/splash.jsx b/src/views/splash/splash.jsx index 4371be487..96be01b64 100644 --- a/src/views/splash/splash.jsx +++ b/src/views/splash/splash.jsx @@ -12,8 +12,7 @@ const splashActions = require('../../redux/splash.js'); const Page = require('../../components/page/www/page.jsx'); const SplashPresentation = require('./presentation.jsx'); -const SCRATCH_WEEK_START_TIME = 1621224000000; // 2021-05-17 00:00:00 -const SCRATCH_WEEK_END_TIME = 1621828800000; // 2021-05-24 00:00:00 +const SCRATCH_WEEK_START_TIME = 1621224000000; // 2021-05-17 00:00:00 -- No end time for now const HOC_START_TIME = 1605484800000; // 2020-11-16 00:00:00 const HOC_END_TIME = 1608681600000; // 2020-12-23 00:00:00 @@ -178,7 +177,6 @@ class Splash extends React.Component { this.props.sessionStatus === sessionActions.Status.FETCHED && // done fetching session Object.keys(this.props.user).length === 0 && // no user session found Date.now() >= SCRATCH_WEEK_START_TIME && - Date.now() < SCRATCH_WEEK_END_TIME && this.shouldShowHOCTopBanner() !== true ); }