Skip to content
This repository has been archived by the owner on Jan 18, 2024. It is now read-only.

Fix: Next warning Expected Document Component Html was not rendered #2661

Merged
merged 1 commit into from
Sep 17, 2020

Conversation

oste
Copy link
Contributor

@oste oste commented Sep 17, 2020

Since next 9.5.3 the html element in _document.js should be Html instead. This error is rendered:

Expected Document Component Html was not rendered. Make sure you render them in your custom `_document`
See more info here https://err.sh/next.js/missing-document-component

See also vercel/next.js#16908

@EvanBacon EvanBacon added Platform: web Using Expo in the browser 🧹 chore labels Sep 17, 2020
Copy link
Contributor

@EvanBacon EvanBacon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM thanks

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🧹 chore Platform: web Using Expo in the browser
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants