Merge branch 'master' into edit-wallet-names

This commit is contained in:
Nathaniel Parke 2020-11-13 12:41:54 +08:00
commit a2903c1453
1 changed files with 5 additions and 0 deletions

View File

@ -22,6 +22,11 @@ export default function AddAccountDialog({ open, onAdd, onClose }) {
return (
<DialogForm
open={open}
onEnter={() => {
setName('');
setIsImport(false);
setPrivateKey('');
}}
onClose={onClose}
onSubmit={() => onAdd({ name, importedAccount })}
fullWidth