put the const variables back in
This commit is contained in:
parent
968d314249
commit
dd80f56f5a
1 changed files with 11 additions and 11 deletions
|
|
@ -122,21 +122,21 @@ export default function ResponsiveTable<T extends Object>(props: Props<T>) {
|
|||
// 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<number[]>([])
|
||||
// const [handler, setHandler] = useState<NodeJS.Timeout | undefined>(undefined);
|
||||
// const [columnAnchor, setColumnAnchor] = useState<any>(null)
|
||||
const [inputSearchText, setInputSearchText] = useState("");
|
||||
const [openGutters, setOpenGutters] = useState<number[]>([])
|
||||
const [handler, setHandler] = useState<NodeJS.Timeout | undefined>(undefined);
|
||||
const [columnAnchor, setColumnAnchor] = useState<any>(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<string[]>(() => {
|
||||
// const saved = localStorage.getItem(filterKey);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue