Fix accounts dialog showing up when it shouldn't (#40)
This commit is contained in:
parent
0e50f86228
commit
921f80dc96
|
@ -12,7 +12,10 @@ export default function DeleteAccountDialog({open, onClose, isDeleteAccountEnabl
|
|||
<DialogForm
|
||||
open={open}
|
||||
onClose={onClose}
|
||||
onSubmit={forgetWallet}
|
||||
onSubmit={() => {
|
||||
forgetWallet();
|
||||
onClose();
|
||||
}}
|
||||
fullWidth
|
||||
>
|
||||
<DialogTitle>Delete Account</DialogTitle>
|
||||
|
|
Loading…
Reference in New Issue