diff --git a/src/components/input/inputSection.tsx b/src/components/input/inputSection.tsx index fbc042f..3ee0f20 100644 --- a/src/components/input/inputSection.tsx +++ b/src/components/input/inputSection.tsx @@ -21,7 +21,7 @@ export const InputSection: React.FC = () => { const updateContextDelay = 897; //milliseconds const setFilterDebounced = useCallback( debounce(filterContext.setFilter, updateContextDelay), - [] + [filterContext] ); const handleFilter = (filterName: keyof IDataFilter) => { diff --git a/src/components/table/tableHead.tsx b/src/components/table/tableHead.tsx index 586c6ab..eb4b6fa 100644 --- a/src/components/table/tableHead.tsx +++ b/src/components/table/tableHead.tsx @@ -1,6 +1,5 @@ import React from "react"; -import { useSort, SortDirection } from "components/context/SortContext"; -import { dir } from "console"; +import { useSort } from "components/context/SortContext"; interface Props { headerData: string[]; diff --git a/tsconfig.json b/tsconfig.json index 778ec5d..f19a29c 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -16,7 +16,8 @@ "noEmit": true, "jsx": "react-jsx", "experimentalDecorators": true, - "baseUrl": "src" + "baseUrl": "src", + "sourceMap": true }, "include": ["src"], "exclude": ["node_modules"]