We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b104d95 commit a3bf52fCopy full SHA for a3bf52f
src/client/app/router.ts
@@ -25,8 +25,8 @@ const getDefaultRoute = (): Route => ({
25
component: null,
26
// this will be set upon initial page load, which is before
27
// the app is mounted, so it's guaranteed to be available in
28
- // components
29
- data: null as any
+ // components. We just need enough data for 404 pages to render.
+ data: { frontmatter: {} } as any
30
})
31
32
interface PageModule {
0 commit comments