This commit is contained in:
2024-10-02 14:21:26 +05:30
parent 084641c561
commit 10221c03d9

View File

@@ -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) {