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, component: null,
// this will be set upon initial page load, which is before // this will be set upon initial page load, which is before
// the app is mounted, so it's guaranteed to be available in // the app is mounted, so it's guaranteed to be available in
// components // components. We just need enough data for 404 pages to render.
data: null as any data: { frontmatter: {} } as any
}) })
interface PageModule { interface PageModule {

Loading…
Cancel
Save