diff --git a/src/views/AddAccountView.vue b/src/views/AddAccountView.vue index 6c639d7..b5641ae 100644 --- a/src/views/AddAccountView.vue +++ b/src/views/AddAccountView.vue @@ -45,7 +45,7 @@ const addAccount = () => { key: key, }; accounts.value.push(newAccount); - return router.push('/'); + return toMainView(); } catch (e) { console.log(e); }