mirror of
https://github.com/fosrl/pangolin.git
synced 2026-02-12 16:06:38 +00:00
8 lines
190 B
TypeScript
8 lines
190 B
TypeScript
import { SiteContext } from "@app/contexts/siteContext";
|
|
import { useContext } from "react";
|
|
|
|
export function useSiteContext() {
|
|
const site = useContext(SiteContext);
|
|
return site;
|
|
}
|