diff --git a/apps/antalmanac/src/components/RightPane/SectionTable/SectionTable.tsx b/apps/antalmanac/src/components/RightPane/SectionTable/SectionTable.tsx index df3f08769..c9e2dd9fd 100644 --- a/apps/antalmanac/src/components/RightPane/SectionTable/SectionTable.tsx +++ b/apps/antalmanac/src/components/RightPane/SectionTable/SectionTable.tsx @@ -21,6 +21,7 @@ import { SectionTableProps } from './SectionTable.types'; import SectionTableBody from './SectionTableBody'; import useColumnStore, { SECTION_TABLE_COLUMNS, type SectionTableColumn } from '$stores/ColumnStore'; import analyticsEnum from '$lib/analytics'; +import { GlobalStyles } from '@mui/material'; const TOTAL_NUM_COLUMNS = SECTION_TABLE_COLUMNS.length; @@ -104,7 +105,7 @@ function EnrollmentColumnHeader(props: EnrollmentColumnHeaderProps) { function SectionTable(props: SectionTableProps) { const { courseDetails, term, allowHighlight, scheduleNames, analyticsCategory } = props; - const [selectedColumns, activeColumns] = useColumnStore((store) => [store.selectedColumns, store.activeColumns]); + const [activeColumns] = useColumnStore((store) => [store.activeColumns]); const isMobileScreen = useMediaQuery(`(max-width: ${MOBILE_BREAKPOINT})`); @@ -127,6 +128,7 @@ function SectionTable(props: SectionTableProps) { return ( <> +