fix: remove all unused variables and added dependecies to useEffect and useCallback (#3013)

This commit is contained in:
Aaryan Khandelwal 2023-12-06 20:31:42 +05:30 committed by sriram veeraghanta
parent 691666e5e2
commit 92cb1834a5
23 changed files with 89 additions and 95 deletions

View file

@ -63,7 +63,7 @@ export const BaseSpreadsheetRoot = observer((props: IBaseSpreadsheetRoot) => {
issueActions[action]!(issue);
}
},
[issueStore]
[issueActions]
);
const handleDisplayFiltersUpdate = useCallback(
@ -80,7 +80,7 @@ export const BaseSpreadsheetRoot = observer((props: IBaseSpreadsheetRoot) => {
viewId
);
},
[issueFiltersStore, projectId, workspaceSlug]
[issueFiltersStore, projectId, workspaceSlug, viewId]
);
return (