Skip to content

Commit

Permalink
fix: input fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ijash committed Dec 20, 2024
1 parent 2b1b83d commit d166359
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/components/input/inputSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export const InputSection: React.FC<props> = () => {
const updateContextDelay = 897; //milliseconds
const setFilterDebounced = useCallback(
debounce(filterContext.setFilter, updateContextDelay),
[]
[filterContext]
);

const handleFilter = (filterName: keyof IDataFilter) => {
Expand Down
3 changes: 1 addition & 2 deletions src/components/table/tableHead.tsx
Original file line number Diff line number Diff line change
@@ -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[];
Expand Down
3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
"noEmit": true,
"jsx": "react-jsx",
"experimentalDecorators": true,
"baseUrl": "src"
"baseUrl": "src",
"sourceMap": true
},
"include": ["src"],
"exclude": ["node_modules"]
Expand Down

0 comments on commit d166359

Please sign in to comment.