mirror of
https://github.com/fosrl/pangolin.git
synced 2026-03-10 17:03:16 +00:00
Format all files
This commit is contained in:
@@ -4,7 +4,7 @@ import { useContext } from "react";
|
||||
export function useClientContext() {
|
||||
const context = useContext(ClientContext);
|
||||
if (context === undefined) {
|
||||
throw new Error('useSiteContext must be used within a SiteProvider');
|
||||
throw new Error("useSiteContext must be used within a SiteProvider");
|
||||
}
|
||||
return context;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user