Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(shared): Fix error improrting @clerk/shared in RSC SDK (eg @clerk…
…/nextjs) node_modules/@clerk/shared/dist/cjs/hooks/createContextAndHook.js (43:35) @ createContext createContext only works in Client Components. Add the "use client" directive at the top of the file to use it. Read more: https://nextjs.org/docs/messages/context-in-server-component at createContextAndHook (webpack-internal:///(rsc)/./node_modules/ @clerk/shared/dist/cjs/hooks/createContextAndHook.js:48:38) at eval (webpack-internal:///(rsc)/./node_modules/@clerk/shared/ dist/cjs/hooks/contexts.js:53:110)
- Loading branch information