🎨(frontend) remove space between PIN digits and # symbol
Update PIN formatting to remove space before the # symbol to clearly indicate that # is part of the complete PIN code. Improves user understanding that the hash symbol is an integral part of the PIN entry sequence, not a separate element.
This commit is contained in:
committed by
aleb_the_flash
parent
f3af637fd6
commit
b6a5b1a805
@@ -19,5 +19,5 @@ export const parseConfigPhoneNumber = (
|
||||
}
|
||||
|
||||
export function formatPinCode(pinCode?: string) {
|
||||
return pinCode && `${pinCode.replace(/(\d{3})(\d{3})(\d{4})/, '$1 $2 $3')} #`
|
||||
return pinCode && `${pinCode.replace(/(\d{3})(\d{3})(\d{4})/, '$1 $2 $3')}#`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user