Skip to content

Commit

Permalink
изменил store, вернул ивент
Browse files Browse the repository at this point in the history
  • Loading branch information
veglem committed Mar 4, 2024
1 parent 4d4afc8 commit 6fbc66c
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 @@ -72,7 +72,7 @@ class UserStore {
this.#state.isAuth = true;
this.#state.username = res.username;
router.redirect('/notes');
// AppEventMaker.notify(UserStoreEvents.SUCCESSFUL_LOGIN);
AppEventMaker.notify(UserStoreEvents.SUCCESSFUL_LOGIN);
} catch (err) {
console.log(err);
}
Expand Down

0 comments on commit 6fbc66c

Please sign in to comment.