#Warning: Unknown: Support for defaultProps will be removed from function components in a future majo

1 messages · Page 1 of 1 (latest)

lucid blade
#

Hi i am using app dir next js 13 and getting this error

wind vale
#

try to add 'use client' at the top of your component. Although in general I would advise using nextjs 12, since 13 version is not compatible with nextui, but will be in the next update

#

At least there are problems when using the app folder

lucid blade
#

though can i use the NextUI in pages.tsx?

#

Warning: Prop `id` did not match. Server: "react-aria7120062478-1" Client: "react-aria5042725724-1" at input at Styled.input at label at Styled.div at div at Styled.div at div at Styled.div

#

weirdly it cause that error but i have same page but the difference is i put it into a component then that component is added in the pages

#

ohhh not tried it with the component it is not working

#

so i got this now with form