Skip to content

Commit

Permalink
Merge pull request #174 from IT-Cotato/hotfix/COT-101_resolve_remove_…
Browse files Browse the repository at this point in the history
…theme_value

Hotfix/COT-11 resolve remove theme value
  • Loading branch information
WONYOUNG-HC authored Dec 27, 2024
2 parents f2c60d3 + cf3a97e commit 833191f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ api.interceptors.response.use(

return api(config);
} catch (err) {
localStorage.clear();
localStorage.removeItem('token');
window.location.replace('/');
} finally {
isRefreshing = false;
Expand Down

0 comments on commit 833191f

Please sign in to comment.