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',