From ac880381667c0d6a4dfb88127462e7c08bdd82ac Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Mon, 10 Jan 2022 21:31:48 -0600 Subject: [PATCH] DevelopersChallenge: 'fizz|buzz' --> 'soap|box' --- app/soapbox/features/developers/developers_challenge.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/soapbox/features/developers/developers_challenge.js b/app/soapbox/features/developers/developers_challenge.js index 80fdc38ed..37078604f 100644 --- a/app/soapbox/features/developers/developers_challenge.js +++ b/app/soapbox/features/developers/developers_challenge.js @@ -38,7 +38,7 @@ class DevelopersChallenge extends React.Component { const { intl, dispatch } = this.props; const { answer } = this.state; - if (answer === 'buzzfizz') { + if (answer === 'boxsoap') { dispatch(changeSettingImmediate(['isDeveloper'], true)); dispatch(snackbar.success(intl.formatMessage(messages.success))); } else { @@ -49,8 +49,8 @@ class DevelopersChallenge extends React.Component { render() { const { intl } = this.props; - const challenge = `function fizzbuzz() { - return 'fizz|buzz'.split('|').reverse().join(''); + const challenge = `function soapbox() { + return 'soap|box'.split('|').reverse().join(''); }`; return ( @@ -60,7 +60,7 @@ class DevelopersChallenge extends React.Component { fizzbuzz() }} + values={{ function: soapbox() }} />
               {challenge}