show intro for logged out users

Switch `&&` to `||`. Current date before AND after HoC is never true.
This commit is contained in:
chrisgarrity 2018-11-28 12:23:47 -05:00
parent 1f6f4d429f
commit edfee0713a

View file

@ -492,7 +492,7 @@ class SplashPresentation extends React.Component { // eslint-disable-line react/
minWidth={frameless.desktop}
>
{
(Date.now() < HOC_START_TIME && // Hide intro if HoC banner is showing
(Date.now() < HOC_START_TIME || // Hide intro if HoC banner is showing
Date.now() > HOC_END_TIME) ?
[
<Intro