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