Show the older-QR hint on enroll

This commit is contained in:
Juan Denis committed 2026-11-26 02:42:34 -05:00
1 parent b156e2dce1
commit bc750ea6e4
1 file changed
+5 -5
@@ -160,10 +160,7 @@ const SetupStepSecurity = ({ onComplete }) => {
{error && (
<div className="tier-warning">
<AlertTriangle size={20} className="tier-warning-icon" />
<div className="tier-warning-text">
{error}
{confirmFailed && <> {t('app.securitySettingsTab.codeMayBeFromOlderQr', 'The code may be from an older QR. Use the code for the QR currently on screen.')}</>}
</div>
<div className="tier-warning-text">{error}</div>
</div>
)}
@@ -233,7 +230,10 @@ const SetupStepSecurity = ({ onComplete }) => {
{error && (
<div className="tier-warning">
<AlertTriangle size={20} className="tier-warning-icon" />
<div className="tier-warning-text">{error}</div>
<div className="tier-warning-text">
{error}
{confirmFailed && <> {t('app.securitySettingsTab.codeMayBeFromOlderQr', 'The code may be from an older QR. Use the code for the QR currently on screen.')}</>}
</div>
</div>
)}