Skip to content
Snippets Groups Projects
Commit d3bd0fc0 authored by Bogdan Cochior's avatar Bogdan Cochior
Browse files

fix(submission): hide modal on back button

parent 61b609af
No related branches found
No related tags found
1 merge request!21Sprint #16 features
......@@ -46,7 +46,7 @@ const SubmissionModal = ({
</Text>
{modalError && <ErrorMessage>{modalError}</ErrorMessage>}
<ButtonsContainer>
<Button data-test="button-modal-hide" onClick={onClose}>
<Button data-test="button-modal-hide" onClick={hideModal}>
{cancelText}
</Button>
{onConfirm &&
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment