Skip to content

Commit

Permalink
Fix modal not closing issue
Browse files Browse the repository at this point in the history
  • Loading branch information
danielxue committed Mar 29, 2024
1 parent ef8c906 commit 7040bba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const FinishConfirmModal = (props: FinishConfirmModalProps) => {
const { onFinish, onClose, open } = props;

return (
<Modal open={open}>
<Modal open={open} onClose={onClose}>
<Modal.Header>Finish Confirmation</Modal.Header>
<Modal.Content>
<Modal.Description>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ const QuestionCard = (props: QuestionCardProps) => {
<FinishConfirmModal
open={finishConfirmModalOpen}
onFinish={() => handleFinish(true)}
onClose={() => setMessageModalOpen(false)}
onClose={() => setFinishConfirmModalOpen(false)}
/>
<Segment attached="top" color="blue" clearing>
<div
Expand Down

0 comments on commit 7040bba

Please sign in to comment.