Skip to content

Commit

Permalink
fix(Modal): fix close button for confirmation controller (#1042)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lisa18289 authored Dec 5, 2024
1 parent 8b1ff62 commit b64a67e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/components/src/components/Modal/Modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ export const Modal = flowComponent("Modal", (props) => {
variant="plain"
color="secondary"
className={styles.closeButton}
onPress={controller?.close}
>
<IconClose />
</Button>
Expand Down

0 comments on commit b64a67e

Please sign in to comment.