Closed myeljoud closed 11 months ago
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.
"client only"
locales/client.ts
'client-only' cannot be imported from a Server Component module. It should only be used from a Client Component.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Added
"client only"
at the top of thelocales/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.