minor changes

This commit is contained in:
Sriram Hariharan
2023-03-04 23:24:50 -06:00
parent 9dbe0d7ff7
commit b7c3d22961
2 changed files with 4 additions and 5 deletions

View File

@@ -29,11 +29,7 @@ export default function TableRow({ support, course, element, isSelected, onClick
}, []);
useEffect(() => {
if (isSelected) {
element.classList.add(styles.selectedRow);
} else {
element.classList.remove(styles.selectedRow);
}
element.classList[isSelected ? 'add' : 'remove'](styles.selectedRow);
}, [course, isSelected]);
if (!container) {

View File

@@ -41,6 +41,9 @@ Last Updated: 03/4/2023
- [ ] store in db
- [ ] extension and website darkmode support
- [ ] see who else is looking at certain classes (waitlist, or has it in their schedule)
- [ ] github contributors displayed somewhere
- [ ] Links to discord/github
- [ ] on CS/ECE/MIS pages, show some banner somewhere for students to join the dev team!
- [ ] CHECK ALL THE TODOs in CODE BEFORE LAUNCHING
## LEGACY FROM UTRP-V1