Edit client page done

This commit is contained in:
Owen
2025-04-18 15:32:20 -04:00
parent 581fdd67b1
commit dc49027b30
20 changed files with 491 additions and 26 deletions

View File

@@ -0,0 +1,11 @@
import { GetClientResponse } from "@server/routers/client/getClient";
import { createContext } from "react";
interface ClientContextType {
client: GetClientResponse;
updateClient: (updatedClient: Partial<GetClientResponse>) => void;
}
const ClientContext = createContext<ClientContextType | undefined>(undefined);
export default ClientContext;