Skip to content

Commit ad3dbcf

Browse files
remove warnings
1 parent 8f18a47 commit ad3dbcf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/ui/layouts/stacks/Stacks/List/index.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export const List: React.FC<Props> = ({
2929
stackComponentId,
3030
}: Props) => {
3131
const history = useHistory();
32-
const { dispatchStackData, setFetching } = callActionForStacksForPagination();
32+
const { dispatchStackData } = callActionForStacksForPagination();
3333
const ITEMS_PER_PAGE = parseInt(
3434
process.env.REACT_APP_ITEMS_PER_PAGE as string,
3535
);
@@ -58,6 +58,7 @@ export const List: React.FC<Props> = ({
5858
stackComponentId,
5959
);
6060
}
61+
// eslint-disable-next-line react-hooks/exhaustive-deps
6162
}, [stackComponentId]);
6263
console.log(fetching, 'asdasdasd');
6364
const expendedRow = filteredStacks.filter((item) => item.id === id);

0 commit comments

Comments
 (0)