diff --git a/src/hooks/usePageContext.js b/src/hooks/usePageContext.js new file mode 100644 index 000000000..fc02f9b87 --- /dev/null +++ b/src/hooks/usePageContext.js @@ -0,0 +1,6 @@ +import { useContext } from 'react'; +import { PageContext } from '../components/PageContext'; + +const usePageContext = () => useContext(PageContext); + +export default usePageContext;