fix: initial render of 404 pages (#418)

pull/486/head
借りられない恋 3 years ago committed by GitHub
parent b104d95993
commit a3bf52fed5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -25,8 +25,8 @@ const getDefaultRoute = (): Route => ({
component: null,
// this will be set upon initial page load, which is before
// the app is mounted, so it's guaranteed to be available in
// components
data: null as any
// components. We just need enough data for 404 pages to render.
data: { frontmatter: {} } as any
})
interface PageModule {

Loading…
Cancel
Save