k8s redesign complete

This commit is contained in:
Eric Gullickson
2025-09-18 22:44:30 -05:00
parent cb98336d5e
commit 040da4c759
12 changed files with 1803 additions and 445 deletions

View File

@@ -3,6 +3,7 @@
*/
import { QueryClient, QueryCache, MutationCache } from '@tanstack/react-query';
import { isAuthReady } from '../api/client';
import toast from 'react-hot-toast';
// Mobile detection utility
@@ -17,7 +18,7 @@ const handleQueryError = (error: any) => {
if (error?.response?.status === 401) {
// Token refresh handled by Auth0Provider
if (isMobile) {
if (isMobile && isAuthReady()) {
toast.error('Refreshing session...', {
duration: 2000,
id: 'mobile-auth-refresh'
@@ -145,4 +146,4 @@ export const queryPerformanceMonitor = {
});
}
},
};
};