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
|
<DialogForm
|
||||||
open={open}
|
open={open}
|
||||||
onClose={onClose}
|
onClose={onClose}
|
||||||
onSubmit={forgetWallet}
|
onSubmit={() => {
|
||||||
|
forgetWallet();
|
||||||
|
onClose();
|
||||||
|
}}
|
||||||
fullWidth
|
fullWidth
|
||||||
>
|
>
|
||||||
<DialogTitle>Delete Account</DialogTitle>
|
<DialogTitle>Delete Account</DialogTitle>
|
||||||
|
|
Loading…
Reference in New Issue