Replies: 1 comment
-
Running into the same issue - bump on this! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello guys,
I am trying to run my
PromptGenerator
function, and got this error- error Error [TypeError]: Cannot read properties of null (reading 'useId')
. While debugging, I tried to isolate sections in the code to catch the issue, and I believe this is the part that is throwing the error:I am running the packages below with latest
NextJS and react
installed:Full error message/ warning is:
top-level
in the function component as shown.pages/api/fileName.js
rather thanpages/app/page.tsx
?My full code:
Any and every comment is very much appreciated. Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions