Lesson 10: Server Error TypeError: createContext only works in Client Components. Add the "use client" directive at the top of the file to use it. Read more: https://nextjs.org/docs/messages/context-in-server-component #6598
Unanswered
shureedshazzad
asked this question in
Q&A
Replies: 1 comment
-
i have the same problem , did you resolve this issue? if yes , Please write down the solution for 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
Uh oh!
There was an error while loading. Please reload this page.
-
I encountered the following error while running my 'nextjs-smartcontract-project' on localhost:3000.

This is the Header.jsx component

This is the _app.js.

This is the package.json file.

Can anybody help me with this issue? Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions