diff --git a/src/components/ActivityButtons.tsx b/src/components/ActivityButtons.tsx index a35e1c85..95c6ab09 100644 --- a/src/components/ActivityButtons.tsx +++ b/src/components/ActivityButtons.tsx @@ -41,6 +41,7 @@ import { Timeslot } from "../lib/activity"; import type { Class, SectionLockOption, Sections } from "../lib/class"; import { LockOption } from "../lib/class"; import { WEEKDAY_STRINGS, TIMESLOT_STRINGS, Slot } from "../lib/dates"; +import { StarButton } from "./ClassTable"; import { HydrantContext } from "../lib/hydrant"; /** @@ -258,6 +259,13 @@ export function ClassButtons(props: { cls: Class }) { return ( + { + const event = new CustomEvent("refreshStarCells"); + window.dispatchEvent(event); + }} + />