Add site context?

This commit is contained in:
Owen Schwartz
2024-10-13 22:58:47 -04:00
parent b53d093065
commit ab41695988
3 changed files with 26 additions and 12 deletions

View File

@@ -0,0 +1,7 @@
import { SiteContext } from "@app/contexts/siteContext";
import { useContext } from "react";
export function useSiteContext() {
const site = useContext(SiteContext);
return site;
}