♻️ separate org settings page into multiple forms

This commit is contained in:
Fred KISSIE
2025-12-18 04:27:24 +01:00
parent 2b3d065650
commit 1a976c78ef
3 changed files with 765 additions and 1158 deletions

View File

@@ -1,9 +1,8 @@
import { GetOrgResponse } from "@server/routers/org";
import { createContext } from "react";
interface OrgContextType {
export interface OrgContextType {
org: GetOrgResponse;
updateOrg: (updateOrg: Partial<GetOrgResponse>) => void;
}
const OrgContext = createContext<OrgContextType | undefined>(undefined);