Skip to content

Commit

Permalink
Reset selected NUPATHS when closing the modal (#725)
Browse files Browse the repository at this point in the history
  • Loading branch information
BrandonLim8890 authored Mar 23, 2024
1 parent 3c06123 commit 52c3ac9
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ export const AddCourseModal: React.FC<AddCourseModalProps> = ({
const onClose = () => {
setSelectedCourses([]);
setSearchQuery("");
setSelectedNUPaths([]);
closeModalDisplay();
};

Expand Down

0 comments on commit 52c3ac9

Please sign in to comment.