MCPcopy
hub / github.com/fosrl/pangolin / UserContextType

Interface UserContextType

src/contexts/userContext.ts:4–7  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2import { createContext } from "react";
3
4interface UserContextType {
5 user: GetUserResponse;
6 updateUser: (updatedUser: Partial<GetUserResponse>) => void;
7}
8
9const UserContext = createContext<UserContextType | undefined>(undefined);
10

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected