fix(frontend): account phone stored with a plus is not shown with two

This commit is contained in:
hh committed 2026-10-19 05:47:09 +00:00
1 parent aff8a9e443
commit e228d999dd
4 files changed
+10 -5

No files matched your search

+4
View File
@@ -47,3 +47,7 @@ export function initials(name: string): string {
const last = lastWord ? lastWord[0] : "";
return (first + last).toUpperCase();
}
export function formatPhone(phone: string): string {
return phone.startsWith("+") ? phone : `+${phone}`;
}