diff --git a/src/pages/profile/ui/ProfilePage.tsx b/src/pages/profile/ui/ProfilePage.tsx
index 5a6d189..ad3a54c 100644
--- a/src/pages/profile/ui/ProfilePage.tsx
+++ b/src/pages/profile/ui/ProfilePage.tsx
@@ -26,6 +26,10 @@ export function ProfilePage() {
}
}, [data?.phone])
+ function handlePhoneChange(value: string) {
+ setPhone(value.replace(/[^\d+\s()-]/g, ''))
+ }
+
function handlePhoneBlur() {
const next = phone.trim()
if (next === savedPhone || updatePhone.isPending) return
@@ -74,7 +78,7 @@ export function ProfilePage() {
-
+