Skip to content

Commit

Permalink
remove community from localstorage
Browse files Browse the repository at this point in the history
  • Loading branch information
zuies committed Dec 13, 2023
1 parent 9961bb0 commit 9b840b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/axiosInstance.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ axiosInstance.interceptors.response.use(
error.config.url?.endsWith('/auth/refresh-tokens')
) {
StorageService.removeLocalStorage('user');
StorageService.removeLocalStorage('analysis_state');
StorageService.removeLocalStorage('community');
toast.error('Session expired. Please log in again.', {
position: 'bottom-left',
autoClose: 5000,
Expand Down

0 comments on commit 9b840b8

Please sign in to comment.