Skip to content

Commit

Permalink
Merge branch 'main' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
sjsjsj1246 committed Nov 2, 2023
2 parents 7c85241 + 3af026b commit 83f95df
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "dutying-web",
"private": true,
"version": "0.4.0",
"version": "0.4.1",
"type": "module",
"scripts": {
"dev": "vite",
Expand Down
1 change: 1 addition & 0 deletions src/hooks/auth/useAuth/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ const useAuth = (activeEffect = false) => {
setState('isAuth', true);
setState('accessToken', accessToken);
initEditShiftStore();
sendEvent(events.auth.login);
axiosInstance.defaults.headers.common['Authorization'] = `Bearer ${accessToken}`;
location.replace(nextPageUrl || '/make');
sendEvent(events.auth.login);
Expand Down

0 comments on commit 83f95df

Please sign in to comment.