mirror of
https://github.com/fosrl/pangolin.git
synced 2026-08-09 14:08:16 +02:00
Add site context?
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
import { SiteContext } from "@app/contexts/siteContext";
|
||||
import { useContext } from "react";
|
||||
|
||||
export function useSiteContext() {
|
||||
const site = useContext(SiteContext);
|
||||
return site;
|
||||
}
|
||||
Reference in New Issue
Block a user