Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 470
fix(elements): Fix follow-on initialization discrepancies#3377
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
Uh oh!
There was an error while loading. Please reload this page.
Changes from all commits
d350e89bf34b2c46a460e3d4491bFile filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| --- | ||
| '@clerk/elements': patch | ||
| --- | ||
| - Bump XState from version 5.12.0 to 5.13.0 | ||
| - We now maintain your current state while completing authentication redirecting rather than transitioning to a "Complete" step. | ||
| - Fixes Sign In and Sign Up machines not appropriately attaching new form machines when returning to the Sign In or Sign Up pages. |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Uh oh!
There was an error while loading. Please reload this page.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -80,7 +80,7 @@ export function SignInStrategy({ children, name }: SignInStrategyProps) { | ||
| } | ||
| return () => { | ||
| if (factorCtx) { | ||
| if (factorCtx?.getSnapshot().status === 'active') { | ||
tmilewski marked this conversation as resolved.
Uh oh!There was an error while loading. Please reload this page. | ||
| factorCtx.send({ type: 'STRATEGY.UNREGISTER', factor: name as unknown as SignInFactor }); | ||
| } | ||
| }; | ||
Uh oh!
There was an error while loading. Please reload this page.