| 9 | import { useUser } from '@/hooks/use-user'; |
| 10 | |
| 11 | export interface AuthGuardProps { |
| 12 | children: React.ReactNode; |
| 13 | } |
| 14 | |
| 15 | export function AuthGuard({ children }: AuthGuardProps): React.JSX.Element | null { |
| 16 | const router = useRouter(); |
nothing calls this directly
no outgoing calls
no test coverage detected