fix(client): remove broken current challenge button (#44405)

This commit is contained in:
Nicholas Carrigan (he/him)
2021-12-07 11:35:32 -08:00
committed by GitHub
parent 979a8d59d9
commit 118bf713ae
4 changed files with 2 additions and 53 deletions

View File

@@ -4,8 +4,7 @@ import { Trans, useTranslation } from 'react-i18next';
import { emailToABVariant } from '../../utils/A-B-tester';
import { randomQuote } from '../../utils/get-words';
import Login from '../Header/components/Login';
import { Link, Spacer, Loader, FullWidthRow } from '../helpers';
import CurrentChallengeLink from '../helpers/current-challenge-link';
import { Link, Spacer, Loader } from '../helpers';
import IntroDescription from './components/IntroDescription';
import './intro.css';
@@ -57,16 +56,6 @@ const Intro = ({
: `${t('learn.welcome-2')}`}
</h1>
<Spacer />
<FullWidthRow>
{completedChallengeCount && completedChallengeCount > 0 ? (
<CurrentChallengeLink isLargeBtn={true}>
{t('buttons.current-challenge')}
</CurrentChallengeLink>
) : (
''
)}
</FullWidthRow>
<Spacer />
<div className='text-center quote-partial'>
<blockquote className='blockquote'>
<span>