fix: reject button
This commit is contained in:
@@ -197,6 +197,11 @@ export function SocialMedia() {
|
||||
}
|
||||
};
|
||||
|
||||
const rejectButton = () => {
|
||||
setIsEditing(false);
|
||||
setIsCodeSent(false);
|
||||
};
|
||||
|
||||
return (
|
||||
<PageWrapper>
|
||||
<CardContainer
|
||||
@@ -209,7 +214,7 @@ export function SocialMedia() {
|
||||
<Button
|
||||
type="button"
|
||||
variant="text"
|
||||
onClick={() => setIsEditing(false)}
|
||||
onClick={rejectButton}
|
||||
size="large"
|
||||
sx={{
|
||||
color: 'primary.main',
|
||||
|
||||
Reference in New Issue
Block a user