Skip to content

fix(clerk-react): Avoid error on useRoutingOptions() when path passed from options - #2514

Merged
dimkl merged 1 commit into
mainfrom
fix-routing-options-error-from-context
Jan 9, 2024
Merged

fix(clerk-react): Avoid error on useRoutingOptions() when path passed from options#2514
dimkl merged 1 commit into
mainfrom
fix-routing-options-error-from-context

Conversation

@dimkl

@dimkl dimkl commented Jan 9, 2024

Copy link
Copy Markdown
Contributor

Description

Avoid raising error when eg <SignIn /> and <SignUp /> path is passed from the env via the ClerkProvider options hook.

Checklist

  • npm test runs as expected.
  • npm run 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:

Packages affected

  • @clerk/backend
  • @clerk/chrome-extension
  • @clerk/clerk-js
  • @clerk/clerk-expo
  • @clerk/fastify
  • gatsby-plugin-clerk
  • @clerk/localizations
  • @clerk/nextjs
  • @clerk/clerk-react
  • @clerk/remix
  • @clerk/clerk-sdk-node
  • @clerk/shared
  • @clerk/themes
  • @clerk/types
  • build/tooling/chore

@dimkl
dimkl requested review from nikosdouvlis and octoper January 9, 2024 00:00
@dimkl dimkl self-assigned this Jan 9, 2024
@changeset-bot

changeset-bot Bot commented Jan 9, 2024

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: ae38fcb

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

This PR includes changesets to release 7 packages
Name Type
@clerk/clerk-react Patch
@clerk/chrome-extension Patch
@clerk/elements Patch
@clerk/clerk-expo Patch
gatsby-plugin-clerk Patch
@clerk/nextjs Patch
@clerk/remix 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

@dimkl
dimkl force-pushed the fix-routing-options-error-from-context branch from 3011ae9 to b0ae5fd Compare January 9, 2024 00:00
@dimkl
dimkl force-pushed the fix-routing-options-error-from-context branch from b0ae5fd to ae38fcb Compare January 9, 2024 00:09
@dimkl
dimkl added this pull request to the merge queue Jan 9, 2024
Merged via the queue into main with commit e9841dd Jan 9, 2024
@dimkl
dimkl deleted the fix-routing-options-error-from-context branch January 9, 2024 08:41
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