Error: async/await is not yet supported in Client Components, only Server Components. This error is
Unanswered
Nebelung posted this in #help-forum
NebelungOP
I don't get why i get this error when im not using any async or await in my code.
This is my current code:
https://pastebin.com/NhcgWwCU
Im pretty new to nextjs so i just need some help
This is my current code:
https://pastebin.com/NhcgWwCU
Im pretty new to nextjs so i just need some help
2 Replies
NebelungOP

@Nebelung I don't get why i get this error when im not using any async or await in my code.
This is my current code:
https://pastebin.com/NhcgWwCU
Im pretty new to nextjs so i just need some help
hi
try change line 5
to
try change line 5
export default withPageAuthRequired(to
export default function withPageAuthRequired(