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
Hi, I am getting this warning since using shadcn-ui with Next.js. I have no clue (noob) if it is even related to this library and or radix-ui.
Thanks
Warning: Styled(button): Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.
at eval (webpack-internal:///(ssr)/./node_modules/@emotion/react/dist/emotion-element-6bdfffb2.esm.js:61:74)
at header
at Header (webpack-internal:///(ssr)/./node_modules/@hookform/devtools/dist/index.cjs.development.js:1696:19)
at div
at div
at Animate (webpack-internal:///(ssr)/./node_modules/react-simple-animate/dist/index.js:95:13)
at DevToolUI (webpack-internal:///(ssr)/./node_modules/@hookform/devtools/dist/index.cjs.development.js:2173:22)
at o (webpack-internal:///(ssr)/./node_modules/little-state-machine/dist/little-state-machine.es.js:44:15)
at DevTool (webpack-internal:///(ssr)/./node_modules/@hookform/devtools/dist/index.cjs.development.js:2338:21)
at form
at div
at FormComponent (webpack-internal:///(ssr)/./src/components/FormElements/FormComponent.tsx:27:26)
at div
at Page (webpack-internal:///(ssr)/./src/app/[lang]/form/[priceId]/page.tsx:33:25)
at StaticGenerationSearchParamsBailoutProvider (webpack-internal:///(ssr)/./node_modules/next/dist/client/components/static-generation-searchparams-bailout-provider.js:15:11)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi, I am getting this warning since using shadcn-ui with Next.js. I have no clue (noob) if it is even related to this library and or radix-ui.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions