mirror of
https://github.com/fosrl/pangolin.git
synced 2026-02-01 07:39:09 +00:00
12 lines
344 B
TypeScript
12 lines
344 B
TypeScript
import { GetOrgUserResponse } from "@server/routers/user";
|
|
import { createContext } from "react";
|
|
|
|
interface OrgUserContext {
|
|
orgUser: GetOrgUserResponse;
|
|
updateOrgUser: (updateOrgUser: Partial<GetOrgUserResponse>) => void;
|
|
}
|
|
|
|
const OrgUserContext = createContext<OrgUserContext | undefined>(undefined);
|
|
|
|
export default OrgUserContext;
|