load and display document

This commit is contained in:
MapleLeaf
2022-01-02 21:56:28 -06:00
committed by Darius
parent c4e72a1fcf
commit 381f933fd1
7 changed files with 53 additions and 8 deletions

View File

@@ -10,7 +10,7 @@ const context = await getPage<PageContextBuiltInClient>()
createRoot(document.querySelector("#app")!).render(
<HeadProvider>
<RouteContextProvider value={{ routeParams: {}, ...context }}>
<RouteContextProvider value={{ routeParams: {}, ...(context as any) }}>
<App>
<context.Page />
</App>