fix: Fixes Use recovery code option being shown on account creation (#2939)

This commit is contained in:
Antonella Sgarlatta
2025-09-29 10:53:08 -03:00
committed by GitHub
parent 20787f0cc5
commit 0055696c35

View File

@@ -170,6 +170,7 @@ const AdvancedOptions: FunctionComponent<Props> = ({
</div>
)}
{onRecoveryCodesChange && (
<div className="mb-1 flex items-center justify-between">
<Checkbox
name="recovery-codes"
@@ -179,6 +180,7 @@ const AdvancedOptions: FunctionComponent<Props> = ({
onChange={handleIsRecoveryCodesChange}
/>
</div>
)}
{isRecoveryCodes && (
<>