mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-22 17:11:23 -05:00
Fix remaining any types and enable strict mode
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user