Skip to content

feat(nextjs): Remove useAuth() error in DEV - #4588

Merged
jacekradko merged 4 commits into
mainfrom
feat/remove-use-auth-error-during-build
Nov 16, 2024
Merged

feat(nextjs): Remove useAuth() error in DEV#4588
jacekradko merged 4 commits into
mainfrom
feat/remove-use-auth-error-during-build

Conversation

@jacekradko

@jacekradko jacekradko commented Nov 15, 2024

Copy link
Copy Markdown
Contributor

Description

Related: SDKI-735

Removing the following error in development:

Clerk: useAuth() called in static mode, wrap this component in <ClerkProvider dynamic> to make auth data available during server-side rendering.

Checklist

  • pnpm test runs as expected.
  • pnpm build runs as expected.
  • (If applicable) JSDoc comments have been added or updated for any package exports
  • (If applicable) Documentation has been updated

Type of change

  • 🐛 Bug fix
  • 🌟 New feature
  • 🔨 Breaking change
  • 📖 Refactoring / dependency upgrade / documentation
  • other:

@changeset-bot

changeset-bot Bot commented Nov 15, 2024

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 35cd454

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@clerk/nextjs Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@jacekradko jacekradko changed the title feat(nextjs): remove useAuth() error in dev feat(nextjs): Remove useAuth() error in dev Nov 15, 2024
Comment thread .changeset/spotty-eagles-applaud.md Outdated
@jacekradko
jacekradko marked this pull request as ready for review November 15, 2024 20:20
@jacekradko
jacekradko enabled auto-merge (squash) November 16, 2024 01:11
@jacekradko jacekradko changed the title feat(nextjs): Remove useAuth() error in dev feat(nextjs): Remove useAuth() error in DEV Nov 16, 2024
@jacekradko
jacekradko merged commit afcc517 into main Nov 16, 2024
@jacekradko
jacekradko deleted the feat/remove-use-auth-error-during-build branch November 16, 2024 17:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants