Skip to content

Commit

Permalink
No longer closes on error for editing residents
Browse files Browse the repository at this point in the history
  • Loading branch information
kevin-pierce committed Dec 3, 2023
1 parent 6591ed1 commit 63eaf16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/components/forms/EditResident.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ const EditResident = ({
"success",
);
getRecords(userPageNum);
toggleClose();
} else {
newToast(
"Error updating resident",
Expand Down Expand Up @@ -184,7 +185,6 @@ const EditResident = ({
setRoomNumberError(false);
setMoveOutDateError(false);
setBuildingError(false);
toggleClose();
};

useEffect(() => {
Expand Down

0 comments on commit 63eaf16

Please sign in to comment.