Skip to content

Commit

Permalink
chore(elements): Remove children from sendTo call
Browse files Browse the repository at this point in the history
  • Loading branch information
tmilewski committed May 23, 2024
1 parent e49ae88 commit b87a7d3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ export const SignInRouterMachine = setup({
'NAVIGATE.PREVIOUS': {
description: 'Go to Idle, and also tell firstFactor to go to Pending',
target: 'Idle',
actions: sendTo(({ self }) => self.getSnapshot().children['firstFactor']!, { type: 'NAVIGATE.PREVIOUS' }),
actions: sendTo('firstFactor', { type: 'NAVIGATE.PREVIOUS' }),
},
},
},
Expand Down

0 comments on commit b87a7d3

Please sign in to comment.