X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/96f0b43ee4bb07e87dbeef8514a51857db069351..46605be9b9f2721cc9848323f904fb0ace5a2dbd:/services/workbench2/src/components/collection-panel-files/collection-panel-files.tsx?ds=sidebyside diff --git a/services/workbench2/src/components/collection-panel-files/collection-panel-files.tsx b/services/workbench2/src/components/collection-panel-files/collection-panel-files.tsx index e58eb89198..03d4551cab 100644 --- a/services/workbench2/src/components/collection-panel-files/collection-panel-files.tsx +++ b/services/workbench2/src/components/collection-panel-files/collection-panel-files.tsx @@ -326,14 +326,16 @@ export const CollectionPanelFiles = withStyles(styles)( setLeftSearch(""); setRightSearch(""); } - }, [rightKey, rightData]); // eslint-disable-line react-hooks/exhaustive-deps + // eslint-disable-next-line react-hooks/exhaustive-deps + }, [rightKey, rightData]); const currentPDH = (collectionPanel.item || {}).portableDataHash; React.useEffect(() => { if (currentPDH) { fetchData([leftKey, rightKey], true); } - }, [currentPDH]); // eslint-disable-line react-hooks/exhaustive-deps + // eslint-disable-next-line react-hooks/exhaustive-deps + }, [currentPDH]); React.useEffect(() => { if (rightData) { @@ -451,7 +453,8 @@ export const CollectionPanelFiles = withStyles(styles)( onItemMenuOpen(event, item, isWritable); } }, - [path, setPath, collectionPanelFiles] // eslint-disable-line react-hooks/exhaustive-deps + // eslint-disable-next-line react-hooks/exhaustive-deps + [path, setPath, collectionPanelFiles] ); const getItemIcon = React.useCallback( @@ -487,7 +490,8 @@ export const CollectionPanelFiles = withStyles(styles)( (ev, isWritable) => { props.onOptionsMenuOpen(ev, isWritable); }, - [props.onOptionsMenuOpen] // eslint-disable-line react-hooks/exhaustive-deps + // eslint-disable-next-line react-hooks/exhaustive-deps + [props.onOptionsMenuOpen] ); return (