From b6a5b1a80559c206a18b59223dc0b1138d2d1055 Mon Sep 17 00:00:00 2001 From: lebaudantoine Date: Tue, 5 Aug 2025 16:21:17 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8(frontend)=20remove=20space=20betwe?= =?UTF-8?q?en=20PIN=20digits=20and=20#=20symbol?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- src/frontend/src/features/rooms/utils/telephony.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/src/features/rooms/utils/telephony.ts b/src/frontend/src/features/rooms/utils/telephony.ts index 0a857330..4a5ee4bb 100644 --- a/src/frontend/src/features/rooms/utils/telephony.ts +++ b/src/frontend/src/features/rooms/utils/telephony.ts @@ -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')}#` }