Skip to content

Commit

Permalink
Merge pull request #695 from sandboxnu/suraj/fix-delete-year-modal
Browse files Browse the repository at this point in the history
Prevent delete year modal from expanding year
  • Loading branch information
Suraj-Ram authored Feb 3, 2024
2 parents 66ece94 + c570bd6 commit 6b29b5a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/frontend/components/Plan/DeleteYearModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,10 @@ export const DeleteYearModal: React.FC<DeleteYearModalProps> = ({
marginRight="sm"
_hover={{ bg: "white", color: "primary.red.main" }}
_active={{ bg: "primary.blue.light.900" }}
onClick={onOpen}
onClick={(e) => {
e.stopPropagation();
onOpen();
}}
/>
</GraduateToolTip>
<Modal isOpen={isOpen} onClose={onClose}>
Expand Down

0 comments on commit 6b29b5a

Please sign in to comment.