Skip to content

Commit

Permalink
feat(vault): no need to close dialog if "submitCallback" is provided
Browse files Browse the repository at this point in the history
  • Loading branch information
gitwoz committed Dec 13, 2024
1 parent e49c315 commit 6fbe633
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/components/Forms/WalletAuthForm/Connect.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -255,9 +255,7 @@ const Connect: React.FC<FormProps> = ({

if (submitCallback) {
submitCallback()
}

if (closeDialog) {
} else if (closeDialog) {
closeDialog()
}
}
Expand Down

0 comments on commit 6fbe633

Please sign in to comment.