mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-30 02:56:20 -05:00
show intro for logged out users
Switch `&&` to `||`. Current date before AND after HoC is never true.
This commit is contained in:
parent
1f6f4d429f
commit
edfee0713a
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue