Skip to content

Commit

Permalink
fix: local storage school being reset on downloads page after sign in
Browse files Browse the repository at this point in the history
  • Loading branch information
dkyyau committed Dec 11, 2024
1 parent 289305d commit 402c0b7
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -108,11 +108,6 @@ export const useResourceFormState = (props: UseResourceFormStateProps) => {
if (schoolId) {
setValue("school", schoolIdFromLocalStorage);
}
} else {
setSchoolInLocalStorage({
schoolId: "notListed",
schoolName: "notListed",
});
}
};

Expand Down

0 comments on commit 402c0b7

Please sign in to comment.