Skip to content

Commit

Permalink
Merge pull request #447 from ITPNYU/Kai_Log_out_Bugfix
Browse files Browse the repository at this point in the history
Update Logic For Cancel Log Out
  • Loading branch information
rlho authored Oct 7, 2024
2 parents d595a1d + 717ce88 commit 769429f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export default function ConfirmDialog(props: Props) {

const handleClose = (result: boolean) => {
setOpen(false);
callback(result);
if (result) callback(result);
};

return (
Expand Down

0 comments on commit 769429f

Please sign in to comment.