Skip to content

Commit

Permalink
fix(716): X icon in New Route modal doesn't close the modal
Browse files Browse the repository at this point in the history
  • Loading branch information
Shivam-Gu authored and lordrip committed Jan 25, 2024
1 parent 7f9ab67 commit 93a19cf
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ export const NewFlow: FunctionComponent<PropsWithChildren> = () => {
data-testid="confirmation-modal"
titleIconVariant="warning"
variant="small"
onClose={() => {
setIsConfirmationModalOpen(false);
}}
actions={[
<Button
key="confirm"
Expand Down

0 comments on commit 93a19cf

Please sign in to comment.