mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2025-02-18 09:00:30 -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}
|
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) ?
|
Date.now() > HOC_END_TIME) ?
|
||||||
[
|
[
|
||||||
<Intro
|
<Intro
|
||||||
|
|
Loading…
Reference in a new issue