Skip to content

Commit

Permalink
fix: update continue button logic in PINEnter component (#1457)
Browse files Browse the repository at this point in the history
Signed-off-by: Jean-Christophe Drouin <jean-christophe.drouin@mcn.gouv.qc.ca>
  • Loading branch information
jcdrouin21 authored Feb 24, 2025
1 parent 92e40d3 commit a56c6f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/legacy/core/App/screens/PINEnter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ const PINEnter: React.FC<PINEnterProps> = ({ setAuthenticated, usage = PINEntryU

const isContinueDisabled = (): boolean => {
if (inlineMessages.enabled) {
return false
return !continueEnabled
}
return !continueEnabled || PIN.length < minPINLength
}
Expand Down

0 comments on commit a56c6f6

Please sign in to comment.