Skip to content

Commit

Permalink
refactor: remove notification.success
Browse files Browse the repository at this point in the history
  • Loading branch information
d3george committed Jun 30, 2024
1 parent 97845f7 commit e5452ec
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/store/userStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,6 @@ export const useSignIn = () => {
setUserToken({ accessToken, refreshToken });
setUserInfo(user);
navigatge(HOMEPAGE, { replace: true });

notification.success({
message: t('sys.login.loginSuccessTitle'),
description: `${t('sys.login.loginSuccessDesc')}: ${data.username}`,
duration: 3,
});
} catch (err) {
message.warning({
content: err.message,
Expand Down

0 comments on commit e5452ec

Please sign in to comment.