-
I created a new project using Next13 + React18. Unfortunately, I encountered this problem: I tried some possible solution that can here #681 but still not working. |
Beta Was this translation helpful? Give feedback.
Answered by
calebpdx
Oct 31, 2022
Replies: 1 comment 1 reply
-
You have to make it a client component for it to work within the app directory. Add "use client"; To the first line of your component's file and you'll be up and running in no time! |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
xdmarttt
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You have to make it a client component for it to work within the app directory.
Add "use client";
To the first line of your component's file and you'll be up and running in no time!