Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(docs): add 'use client' annotation #215

Merged
merged 1 commit into from
Oct 4, 2023
Merged

chore(docs): add 'use client' annotation #215

merged 1 commit into from
Oct 4, 2023

Conversation

myeljoud
Copy link
Contributor

@myeljoud myeljoud commented Oct 4, 2023

Added "client only" at the top of the locales/client.ts to prevent Next.js from yelling 'client-only' cannot be imported from a Server Component module. It should only be used from a Client Component.

Added `"client only"` at the top of the `locales/client.ts` to prevent Next.js from yelling `'client-only' cannot be imported from a Server Component module. It should only be used from a Client Component.`
@vercel
Copy link

vercel bot commented Oct 4, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
next-international ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 4, 2023 8:24am

Copy link
Owner

@QuiiBz QuiiBz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, nice addition!

@QuiiBz QuiiBz enabled auto-merge (squash) October 4, 2023 16:11
@QuiiBz QuiiBz disabled auto-merge October 4, 2023 16:11
@QuiiBz QuiiBz added the documentation Improvements or additions to documentation label Oct 4, 2023
@QuiiBz QuiiBz changed the title Update app-setup.mdx chore(docs): add 'use client' annotation Oct 4, 2023
@QuiiBz QuiiBz changed the title chore(docs): add 'use client' annotation chore(docs): add 'use client' annotation Oct 4, 2023
@QuiiBz QuiiBz merged commit 135a6cf into QuiiBz:main Oct 4, 2023
5 of 6 checks passed
@myeljoud myeljoud deleted the patch-1 branch October 4, 2023 17:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants