0.3
This commit is contained in:
@@ -66,6 +66,7 @@ export const baseQuery = async (args, api, extraOptions) => {
|
||||
|
||||
console.log('refresh failed');
|
||||
localStorage.clear();
|
||||
window.location.href = '/login'; // Redirect to login page
|
||||
|
||||
}
|
||||
} catch (err) {
|
||||
|
||||
Reference in New Issue
Block a user