From fdddad351609052cb85b375cfc1a9cc517702d33 Mon Sep 17 00:00:00 2001 From: rschamp Date: Wed, 27 Nov 2019 15:45:35 -0500 Subject: [PATCH] Review feedback --- src/views/splash/l10n.json | 3 --- src/views/splash/presentation.jsx | 28 +++++++++++++--------------- 2 files changed, 13 insertions(+), 18 deletions(-) diff --git a/src/views/splash/l10n.json b/src/views/splash/l10n.json index 052e5eeae..203bbe276 100644 --- a/src/views/splash/l10n.json +++ b/src/views/splash/l10n.json @@ -38,9 +38,6 @@ "hocbanner.imagine": "Imagine a World", "hocbanner.codeACartoon": "Code a Cartoon", "hocbanner.talking": "Talking Tales", - "hocbanner.name": "Animate a Name", - "hocbanner.fly": "Make it Fly", - "hocbanner.pong": "Pong Game", "welcome.welcomeToScratch": "Welcome to Scratch!", "welcome.learn": "Learn how to make a project in Scratch", diff --git a/src/views/splash/presentation.jsx b/src/views/splash/presentation.jsx index ad3c12c3a..3b2a8aa1b 100644 --- a/src/views/splash/presentation.jsx +++ b/src/views/splash/presentation.jsx @@ -419,22 +419,20 @@ class SplashPresentation extends React.Component { // eslint-disable-line react/ { this.props.sessionStatus === sessionActions.Status.FETCHED && Object.keys(this.props.user).length === 0 && (// Only show top banner if user is not logged in - /* eslint-disable indent, react/jsx-indent, react/jsx-indent-props */ - (Date.now() >= HOC_START_TIME && Date.now() < HOC_END_TIME) ? ( - - - - ) : ( - - ) + (Date.now() >= HOC_START_TIME && Date.now() < HOC_END_TIME) ? ( + + + + ) : ( + + ) ) - /* eslint-enable indent, react/jsx-indent, react/jsx-indent-props */ }