change user role

This commit is contained in:
Milo Schwartz
2024-11-10 21:19:41 -05:00
parent e141263b7e
commit 1a3d7705d9
14 changed files with 320 additions and 306 deletions

View File

@@ -0,0 +1,11 @@
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;