Skip to content

Commit

Permalink
Remove comment because without the 2fa step it doesn't work
Browse files Browse the repository at this point in the history
  • Loading branch information
ospfranco committed Sep 21, 2023
1 parent 53723b5 commit 56aeedb
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@ function TwoFactorAuthSteps({account = defaultAccount}) {
} else {
setCurrentStep(CONST.TWO_FACTOR_AUTH_STEPS.CODES);
}
// we don't want to trigger the hook every time the step changes, only when the requiresTwoFactorAuth changes
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [account.requiresTwoFactorAuth, account.twoFactorAuthStep]);

const handleSetStep = useCallback(
Expand Down

0 comments on commit 56aeedb

Please sign in to comment.