Fix remaining any types and enable strict mode

This commit is contained in:
gpt-engineer-app[bot]
2025-11-03 01:20:50 +00:00
parent e14c11d994
commit 8ce7775324
7 changed files with 38 additions and 6 deletions

View File

@@ -1,5 +1,6 @@
import { useEffect } from 'react';
import { useNavigate } from 'react-router-dom';
import type { User } from '@supabase/supabase-js';
import { useAuth } from './useAuth';
import { useUserRole } from './useUserRole';
import { useRequireMFA } from './useRequireMFA';
@@ -15,7 +16,7 @@ export interface AdminGuardState {
needsMFA: boolean;
/** Current authenticated user */
user: any;
user: User | null;
}
/**