Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

Commit

Permalink
Updated onSubmit type for confirm dialog to include void
Browse files Browse the repository at this point in the history
  • Loading branch information
hanzlamateen committed Jun 3, 2024
1 parent 4328e1b commit c3fb0ae
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ import Text from '../../../primitives/tailwind/Text'

interface ConfirmDialogProps {
text: string
onSubmit: () => Promise<void>
onSubmit: () => Promise<void> | void
onClose?: () => void
modalProps?: Partial<ModalProps>
}
Expand Down

0 comments on commit c3fb0ae

Please sign in to comment.