Skip to content

Commit

Permalink
изменил store, добавил редирект на notes
Browse files Browse the repository at this point in the history
  • Loading branch information
veglem committed Mar 4, 2024
1 parent a109c2b commit 4d4afc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/src/stores/user/userStore.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 4d4afc8

Please sign in to comment.