Skip to content

Add the feature of Global Tree #306

Add the feature of Global Tree

Add the feature of Global Tree #306

Triggered via pull request February 10, 2025 12:32
Status Failure
Total duration 30s
Artifacts

ci.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 14 warnings
build (20): src/App.tsx#L1
'useState' is defined but never used
build (20): src/App.tsx#L1
'ReactNode' is defined but never used
build (20)
Process completed with exit code 1.
build (18)
The job was canceled because "_20" failed.
build (18): src/App.tsx#L1
'useState' is defined but never used
build (18): src/App.tsx#L1
'ReactNode' is defined but never used
build (18)
Process completed with exit code 1.
build (20): src/App.tsx#L33
React Hook useEffect has a missing dependency: 'setTreeNodes'. Either include it or remove the dependency array
build (20): 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
build (20): src/components/Modal.tsx#L24
React Hook useEffect has a missing dependency: 'showPopover'. Either include it or remove the dependency array
build (20): src/components/OpenSeaDragonViewer.tsx#L38
React Hook useEffect has missing dependencies: 'imageUrl', 'panelId', and 'viewerId'. Either include them or remove the dependency array
build (20): 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
build (20): src/components/panel/Panel.tsx#L53
React Hook useEffect has missing dependencies: 'addPanelContent' and 'getCollection'. Either include them or remove the dependency array
build (20): src/components/panel/views/PanelCentralContent.tsx#L47
React Hook useEffect has a missing dependency: 'content'. Either include it or remove the dependency array
build (18): src/App.tsx#L33
React Hook useEffect has a missing dependency: 'setTreeNodes'. Either include it or remove the dependency array
build (18): 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
build (18): src/components/Modal.tsx#L24
React Hook useEffect has a missing dependency: 'showPopover'. Either include it or remove the dependency array
build (18): src/components/OpenSeaDragonViewer.tsx#L38
React Hook useEffect has missing dependencies: 'imageUrl', 'panelId', and 'viewerId'. Either include them or remove the dependency array
build (18): 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
build (18): src/components/panel/Panel.tsx#L53
React Hook useEffect has missing dependencies: 'addPanelContent' and 'getCollection'. Either include them or remove the dependency array
build (18): src/components/panel/views/PanelCentralContent.tsx#L47
React Hook useEffect has a missing dependency: 'content'. Either include it or remove the dependency array