Skip to content

Commit

Permalink
feat(handle): handle reject mood
Browse files Browse the repository at this point in the history
  • Loading branch information
tikrack committed Feb 4, 2025
1 parent 2b49e2d commit 55413a0
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions src/components/shared/Profile.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,15 @@ const Profile = () => {
setConfirm(true);
};

const accept = () => {};
const accept = () => {
setClicked(false);
setConfirm(false);
};

const reject = () => {};
const reject = () => {
setClicked(false);
setConfirm(false);
};

return (
<>
Expand All @@ -44,8 +50,8 @@ const Profile = () => {
callback={() => {
setConfirm(false);
}}
accept={accept()}
reject={reject()}
accept={accept}
reject={reject}
/>
</>
);
Expand Down

0 comments on commit 55413a0

Please sign in to comment.