MCPcopy
hub / github.com/devias-io/material-kit-react / AuthGuardProps

Interface AuthGuardProps

src/components/auth/auth-guard.tsx:11–13  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected