Add the feature of Global Tree #299
Annotations
7 warnings
Run Linting:
src/App.tsx#L34
React Hook useEffect has a missing dependency: 'setTreeNodes'. Either include it or remove the dependency array
|
Run Linting:
src/components/CustomHTML.tsx#L26
Assignments to the 'iconEl' variable from inside React Hook useEffect will be lost after each render. To preserve the value over time, store it in a useRef Hook and keep the mutable value in the '.current' property. Otherwise, you can move this variable directly inside useEffect
|
Run Linting:
src/components/Modal.tsx#L27
React Hook useEffect has a missing dependency: 'showPopover'. Either include it or remove the dependency array
|
Run Linting:
src/components/OpenSeaDragonViewer.tsx#L38
React Hook useEffect has missing dependencies: 'imageUrl', 'panelId', and 'viewerId'. Either include them or remove the dependency array
|
Run Linting:
src/components/base/IconRenderer.tsx#L26
React Hook useEffect has missing dependencies: 'height' and 'width'. Either include them or remove the dependency array. If 'setIconWidth' needs the current value of 'width', you can also switch to useReducer instead of useState and read 'width' in the reducer
|
Run Linting:
src/components/panel/Panel.tsx#L53
React Hook useEffect has missing dependencies: 'addPanelContent' and 'getCollection'. Either include them or remove the dependency array
|
Run Linting:
src/components/panel/views/PanelCentralContent.tsx#L47
React Hook useEffect has a missing dependency: 'content'. Either include it or remove the dependency array
|
Loading