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

Interface UserContextValue

src/contexts/user-context.tsx:9–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7import { logger } from '@/lib/default-logger';
8
9export interface UserContextValue {
10 user: User | null;
11 error: string | null;
12 isLoading: boolean;
13 checkSession?: () => Promise<void>;
14}
15
16export const UserContext = React.createContext<UserContextValue | undefined>(undefined);
17

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected