minor fixes
This commit is contained in:
@@ -16,6 +16,7 @@ export function PageContextProvider({
|
||||
return <Context.Provider value={pageContext}>{children}</Context.Provider>;
|
||||
}
|
||||
|
||||
// eslint-disable-next-line react-refresh/only-export-components
|
||||
export function usePageContext() {
|
||||
const pageContext = useContext(Context);
|
||||
return pageContext;
|
||||
|
||||
Reference in New Issue
Block a user