From 9b840b8c55f6e22c51b24c8da53b521799adef4b Mon Sep 17 00:00:00 2001 From: zuies Date: Wed, 13 Dec 2023 18:00:20 +0300 Subject: [PATCH] remove community from localstorage --- src/axiosInstance.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/axiosInstance.ts b/src/axiosInstance.ts index 7554acbe..4b118797 100644 --- a/src/axiosInstance.ts +++ b/src/axiosInstance.ts @@ -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,