From 4d4afc897f2afaabbe716aff1c05a6c1bc82f077 Mon Sep 17 00:00:00 2001 From: ZhurmilovVadim Date: Mon, 4 Mar 2024 08:38:58 +0300 Subject: [PATCH] =?UTF-8?q?=D0=B8=D0=B7=D0=BC=D0=B5=D0=BD=D0=B8=D0=BB=20st?= =?UTF-8?q?ore,=20=D0=B4=D0=BE=D0=B1=D0=B0=D0=B2=D0=B8=D0=BB=20=D1=80?= =?UTF-8?q?=D0=B5=D0=B4=D0=B8=D1=80=D0=B5=D0=BA=D1=82=20=D0=BD=D0=B0=20not?= =?UTF-8?q?es?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/src/stores/user/userStore.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/src/stores/user/userStore.js b/public/src/stores/user/userStore.js index 0ceef99e..bfab5ad0 100644 --- a/public/src/stores/user/userStore.js +++ b/public/src/stores/user/userStore.js @@ -71,7 +71,7 @@ class UserStore { console.log("signup successfull"); this.#state.isAuth = true; this.#state.username = res.username; - router.redirect('/'); + router.redirect('/notes'); // AppEventMaker.notify(UserStoreEvents.SUCCESSFUL_LOGIN); } catch (err) { console.log(err);