Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove node-fetch polyfill in next.js example #1

Closed
wants to merge 1 commit into from

Conversation

afzalsayed96
Copy link

@afzalsayed96
Copy link
Author

afzalsayed96 commented Jun 6, 2020

Oh by the way this example does not work if you follow the docs and define your body as Rich Text

It breaks at the following line as post.body would be an object (not a valid react child)

<p style={{ whiteSpace: "pre-wrap" }}>{post.body}</p>

This should probably be addressed in a separate issue/PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants