You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
1. You might have mismatching versions of React and the renderer (such as React DOM)
2. You might be breaking the Rules of Hooks
3. You might have more than one copy of React in the same app
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.
Astro Info
If this issue only occurs in one browser, which browser is a problem?
No response
Describe the Bug
I'm getting the react hooks warning on route change. It only shows up when I have enabled the MDX integration.
Related:
The whole message:
What's the expected result?
No warnings in the console
Link to Minimal Reproducible Example
https://stackblitz.com/edit/github-syektoew?file=astro.config.mjs
Participation
The text was updated successfully, but these errors were encountered: