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,10 @@
import ClientContext from "@app/contexts/clientContext";
import { useContext } from "react";
export function useClientContext() {
const context = useContext(ClientContext);
if (context === undefined) {
throw new Error('useSiteContext must be used within a SiteProvider');
}
return context;
}