fix/change-buttons-to-suggested

This commit is contained in:
moT01
2019-06-11 18:07:41 -05:00
parent 16188badd6
commit 5ce1d9e391

View File

@ -32,7 +32,12 @@ function ChallengeTitle({
return ( return (
<div className='challenge-title-wrap'> <div className='challenge-title-wrap'>
{showPrevNextBtns ? ( {showPrevNextBtns ? (
<Button bsStyle='primary' onClick={() => navigate(prevChallengePath)}> <Button
aria-label='Previous lesson'
bsStyle='primary'
className='btn-invert'
onClick={() => navigate(prevChallengePath)}
>
&lt; &lt;
</Button> </Button>
) : null} ) : null}
@ -42,7 +47,9 @@ function ChallengeTitle({
</h2> </h2>
{showPrevNextBtns ? ( {showPrevNextBtns ? (
<Button <Button
aria-label='Next lesson'
bsStyle='primary' bsStyle='primary'
className='btn-invert'
onClick={() => navigate(introPath ? introPath : nextChallengePath)} onClick={() => navigate(introPath ? introPath : nextChallengePath)}
> >
&gt; &gt;