Next.js Discord

Discord Forum

"use client" error

Answered
Lionhead posted this in #help-forum
Open in Discord
LionheadOP
Even though my file has "use client" at the very top, I am still getting this error.
My guess is, maybe it has something to do with my file structure?
I have a recipe-item component, but I also need a page recipe-item/[id] that will display each recipe-item
Answered by Rough harvester ant
looks like typo clinet should be client
View full answer

2 Replies

Rough harvester ant
looks like typo clinet should be client
Answer
@Rough harvester ant looks like typo `clinet` should be `client`
LionheadOP
oh... my bad, thank you