Skip to content

Commit 5f4aa45

Browse files
committed
fix: myinfo mobile rerender
1 parent 99abc0a commit 5f4aa45

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/app/modules/myinfo/myinfo.format.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const logger = createLoggerWithLabel(module)
1717
/**
1818
* Formats MyInfo attribute as phone number
1919
* @param phone
20-
* @example +65 98654321
20+
* @example +6598654321
2121
* @returns Phone number if phone.nbr exists. Else return empty string.
2222
*/
2323
export const formatPhoneNumber = (
@@ -26,7 +26,7 @@ export const formatPhoneNumber = (
2626
if (!phone || phone.unavailable || !phone.nbr.value) return ''
2727

2828
return phone.prefix.value && phone.areacode.value
29-
? `${phone.prefix.value}${phone.areacode.value} ${phone.nbr.value}`
29+
? `${phone.prefix.value}${phone.areacode.value}${phone.nbr.value}`
3030
: phone.nbr.value
3131
}
3232

0 commit comments

Comments
 (0)