Skip to content

Commit 8b09fd5

Browse files
Run oxfmt to fix formatting
Co-authored-by: Rory Abraham <roryabraham@users.noreply.github.com>
1 parent 398c991 commit 8b09fd5

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎src/pages/settings/Security/TwoFactorAuth/DynamicSuccessPage.tsx‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@ function DynamicSuccessPage({route}: DynamicSuccessPageProps) {
5858
// Forced onboarding 2FA always enters via Settings > Security (from the require-2FA overlay).
5959
// Gate on the real hasCompletedGuidedSetupFlow so the handoff only fires for users who haven't finished
6060
// guided setup; passing a literal false made it fire for every user setting up 2FA from Settings > Security.
61-
const isForcedOnboardingHandoff = AccountUtils.isForced2FAOnboardingSetup(account, !!hasCompletedGuidedSetupFlow) || (!!account?.requiresTwoFactorAuth && isIncompleteOnboarding && hasSavedOnboardingPath);
61+
const isForcedOnboardingHandoff =
62+
AccountUtils.isForced2FAOnboardingSetup(account, !!hasCompletedGuidedSetupFlow) || (!!account?.requiresTwoFactorAuth && isIncompleteOnboarding && hasSavedOnboardingPath);
6263
const shouldReturnToOnboardingAfter2FA = isSecuritySettingsFlow && isForcedOnboardingHandoff;
6364

6465
const completeForcedOnboarding2FAHandoff = () => {

0 commit comments

Comments
 (0)