fix(UI): changed order of exit modal buttons (#52700)

This commit is contained in:
Mohammed Mishal P
2023-12-22 23:19:25 +05:30
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>
);