mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
fix(UI): changed order of exit modal buttons (#52700)
This commit is contained in:
committed by
GitHub
parent
144149ed03
commit
92fb0ed738
@@ -58,14 +58,6 @@ function ExitExamModal({
|
||||
<div className='text-center'>{t('learn.exam.exit')}</div>
|
||||
</Modal.Body>
|
||||
<Modal.Footer className='reset-modal-footer'>
|
||||
<Button
|
||||
data-cy='exit-exam-modal-confirm'
|
||||
block={true}
|
||||
bsStyle='danger'
|
||||
onClick={exitExam}
|
||||
>
|
||||
{t('learn.exam.exit-yes')}
|
||||
</Button>
|
||||
<Button
|
||||
data-cy='exit-exam-modal-deny'
|
||||
block={true}
|
||||
@@ -74,6 +66,14 @@ function ExitExamModal({
|
||||
>
|
||||
{t('learn.exam.exit-no')}
|
||||
</Button>
|
||||
<Button
|
||||
data-cy='exit-exam-modal-confirm'
|
||||
block={true}
|
||||
bsStyle='danger'
|
||||
onClick={exitExam}
|
||||
>
|
||||
{t('learn.exam.exit-yes')}
|
||||
</Button>
|
||||
</Modal.Footer>
|
||||
</Modal>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user