Next.js Discord

Discord Forum

Importing server component to client component error.

Unanswered
Polar bear posted this in #help-forum
Open in Discord
Polar bearOP
I'm looking at all documentations to see how I can fix the error. The error I'm seeing is "Error: auth() can only be used in a server environment" (screenshot). Can anyone help me how I can fix it?

1 Reply

where is <Button> Imported?