From dd80f56f5ae03a3e75b9d955094202112500983f Mon Sep 17 00:00:00 2001 From: csawatzky Date: Thu, 10 Apr 2025 13:48:02 -0600 Subject: [PATCH] put the const variables back in --- src/common/ResponsiveTable.tsx | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/common/ResponsiveTable.tsx b/src/common/ResponsiveTable.tsx index d889352..3852ec1 100644 --- a/src/common/ResponsiveTable.tsx +++ b/src/common/ResponsiveTable.tsx @@ -122,21 +122,21 @@ export default function ResponsiveTable(props: Props) { // mobileView, // hidePagination } = props - // const classes = useStyles(); - // const columns = typeof(props.columns) === "function" ? props.columns() : props.columns - // const subtitle = typeof(props.subtitle) === "function" ? props.subtitle() : props.subtitle - // const title = typeof(props.title) === "function" ? props.title() : props.title + //const classes = useStyles(); + const columns = typeof(props.columns) === "function" ? props.columns() : props.columns + const subtitle = typeof(props.subtitle) === "function" ? props.subtitle() : props.subtitle + const title = typeof(props.title) === "function" ? props.title() : props.title - // const isMobile = useMobile() + const isMobile = useMobile() - // const [inputSearchText, setInputSearchText] = useState(""); - // const [openGutters, setOpenGutters] = useState([]) - // const [handler, setHandler] = useState(undefined); - // const [columnAnchor, setColumnAnchor] = useState(null) + const [inputSearchText, setInputSearchText] = useState(""); + const [openGutters, setOpenGutters] = useState([]) + const [handler, setHandler] = useState(undefined); + const [columnAnchor, setColumnAnchor] = useState(null) - // const filterKey = window.location.pathname.split('/').pop() + "-table-filter-list"; + const filterKey = window.location.pathname.split('/').pop() + "-table-filter-list"; - console.log("Commented out absolutely everything") + console.log("Commented out nearly everything") // const [filterList, setFilterList] = useState(() => { // const saved = localStorage.getItem(filterKey);