I am able to display the component on my next app, when I do a hot reload.
When I refresh the page, this error occur and keep being displayed.
pnpm build also show this error.
Expected behavior
I have no errors before page generation, and another nextJS project running with similar configurations, working fine.
Suggested solution
tried reload,
use react-dropdown-menu 2.1.2,
try to install @radix-ui/react-use-controllable-state,
Additional context
I am using a NextJS project, based on pages directory, maybe that is somehow causing the error.
This is the only difference I see between my two working projects.
Bug report
Current Behavior
I am able to display the component on my next app, when I do a hot reload. When I refresh the page, this error occur and keep being displayed. pnpm build also show this error.
Expected behavior
I have no errors before page generation, and another nextJS project running with similar configurations, working fine.
Suggested solution
Additional context
I am using a NextJS project, based on pages directory, maybe that is somehow causing the error. This is the only difference I see between my two working projects.
Your environment