Use the toMainView function
This commit is contained in:
parent
f942388a13
commit
20dbbda08b
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ const addAccount = () => {
|
||||||
key: key,
|
key: key,
|
||||||
};
|
};
|
||||||
accounts.value.push(newAccount);
|
accounts.value.push(newAccount);
|
||||||
return router.push('/');
|
return toMainView();
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.log(e);
|
console.log(e);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue