Fix build errors
This commit is contained in:
parent
97b1c3d6ee
commit
fb3d574121
6 changed files with 5877 additions and 32824 deletions
|
|
@ -18,7 +18,7 @@ export default class LeafcutterDocument extends Document {
|
|||
}
|
||||
}
|
||||
|
||||
LeafcutterDocument.getInitialProps = async (ctx) => {
|
||||
LeafcutterDocument.getInitialProps = async (ctx): Promise<any> => {
|
||||
const originalRenderPage = ctx.renderPage;
|
||||
const cache = createEmotionCache();
|
||||
const { extractCriticalToChunks } = createEmotionServer(cache as any);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue