Skip to content
This repository was archived by the owner on May 8, 2021. It is now read-only.

Conversation

@samrobbins85
Copy link

Next.js logged errors to the console as an anonymous arrow function was used. This causes Fast Refresh to not preserve local component state. To fix this, I used the same style as in the Next.js documentation, and named the function Index.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant