diff --git a/.changeset/dry-rings-reflect.md b/.changeset/dry-rings-reflect.md new file mode 100644 index 0000000000..a845151cc8 --- /dev/null +++ b/.changeset/dry-rings-reflect.md @@ -0,0 +1,2 @@ +--- +--- diff --git a/packages/elements/src/internals/machines/sign-in/machines/router.machine.ts b/packages/elements/src/internals/machines/sign-in/machines/router.machine.ts index d0995620bb..3a5e5b5ddb 100644 --- a/packages/elements/src/internals/machines/sign-in/machines/router.machine.ts +++ b/packages/elements/src/internals/machines/sign-in/machines/router.machine.ts @@ -162,6 +162,8 @@ export const SignInRouterMachine = setup({ isLoading: false, }, })), + }, + 'CLERK.SET': { target: 'Init', }, }, diff --git a/packages/elements/src/internals/machines/sign-up/machines/router.machine.ts b/packages/elements/src/internals/machines/sign-up/machines/router.machine.ts index 5e3137a833..0391214d08 100644 --- a/packages/elements/src/internals/machines/sign-up/machines/router.machine.ts +++ b/packages/elements/src/internals/machines/sign-up/machines/router.machine.ts @@ -178,6 +178,8 @@ export const SignUpRouterMachine = setup({ isLoading: false, }, })), + }, + 'CLERK.SET': { target: 'Init', }, },