Skip to content

Commit

Permalink
fix: close dialog on success
Browse files Browse the repository at this point in the history
  • Loading branch information
williamluke4 committed Nov 29, 2023
1 parent 3dcd09b commit abf6d04
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/users/dialogs/gas-request-dialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ const GasRequestDialog = () => {
description: "Your request has been sent",
variant: "default",
});
setIsOpen(false);
})
.catch((err: Error) => {
toast({
Expand Down

0 comments on commit abf6d04

Please sign in to comment.