chore: fix challenge modal automatically closing

This commit is contained in:
Aman Harwara
2023-07-06 19:27:08 +05:30
parent c8e52b667c
commit 9081607dc7
2 changed files with 12 additions and 3 deletions

View File

@@ -241,7 +241,13 @@ const ChallengeModal: FunctionComponent<Props> = ({
})
return (
<ModalOverlay isOpen={true} key={challenge.id} ref={setModalElement} close={cancelChallenge}>
<ModalOverlay
isOpen={true}
key={challenge.id}
ref={setModalElement}
close={cancelChallenge}
hideOnInteractOutside={false}
>
<Modal
title="Authenticate"
close={cancelChallenge}