Forget actually returns (#5)
This commit is contained in:
parent
93b135d685
commit
e730d4e7c0
@ -22,7 +22,10 @@ function Forget (props: Props) {
|
||||
|
||||
const _onClick = (): void => {
|
||||
forgetAccount(address)
|
||||
.then(onAction)
|
||||
.then(() => {
|
||||
onAction();
|
||||
window.location.hash = '/';
|
||||
})
|
||||
.catch(console.error);
|
||||
};
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user