From d309a9d384a16f42c03c9ca1a59ed571bc78c7f1 Mon Sep 17 00:00:00 2001 From: Koosha Lahouti Date: Mon, 29 Sep 2025 19:32:01 +0330 Subject: [PATCH] fix: reject button --- .../profile/components/userInformation/SocialMedia.tsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/features/profile/components/userInformation/SocialMedia.tsx b/src/features/profile/components/userInformation/SocialMedia.tsx index 56a2aa5..41acb67 100644 --- a/src/features/profile/components/userInformation/SocialMedia.tsx +++ b/src/features/profile/components/userInformation/SocialMedia.tsx @@ -197,6 +197,11 @@ export function SocialMedia() { } }; + const rejectButton = () => { + setIsEditing(false); + setIsCodeSent(false); + }; + return ( setIsEditing(false)} + onClick={rejectButton} size="large" sx={{ color: 'primary.main',