diff --git a/src/common/ResponsiveTable.tsx b/src/common/ResponsiveTable.tsx index e6afde9..b20fb6e 100644 --- a/src/common/ResponsiveTable.tsx +++ b/src/common/ResponsiveTable.tsx @@ -7,7 +7,7 @@ import { useMobile } from "hooks"; import classNames from "classnames"; const useStyles = makeStyles((theme: Theme) => { - //const isMobile = useMobile() + const isMobile = useMobile() return ({ gutter: { backgroundColor: darken(theme.palette.background.paper, 0.05), @@ -52,9 +52,9 @@ const useStyles = makeStyles((theme: Theme) => { }, rowHover: { cursor: "pointer", - // "&:hover": { - // backgroundColor: !isMobile && "rgba(150, 150, 150, 0.15)", - // } + "&:hover": { + backgroundColor: !isMobile && "rgba(150, 150, 150, 0.15)", + } } })}, ); @@ -136,7 +136,7 @@ export default function ResponsiveTable(props: Props) { const filterKey = window.location.pathname.split('/').pop() + "-table-filter-list"; - console.log("Put back everything minus the style classes") + console.log("added the hook back") const [filterList, setFilterList] = useState(() => { const saved = localStorage.getItem(filterKey);