import React from 'react' ; import { PageContextProvider } from './usePageContext' ; import type { PageContext } from './types' ; export { PageShell } ; function PageShell ( { children , pageContext } ) { return ( < React . StrictMode > < PageContextProvider pageContext = { pageContext } > < main > { children } < /main> < /PageContextProvider> < /React.StrictMode>); }