Dynamic collections: Creation of a new panel by using local tree modal #290
Annotations
10 errors and 5 warnings
Run Linting:
src/components/TopBar.tsx#L11
Expected indentation of 10 spaces but found 8
|
Run Linting:
src/components/TopBar.tsx#L14
Expected indentation of 2 spaces but found 0
|
Run Linting:
src/components/TopBar.tsx#L15
Expected indentation of 4 spaces but found 10
|
Run Linting:
src/components/TopBar.tsx#L16
Expected indentation of 2 spaces but found 8
|
Run Linting:
src/components/base/InputField.tsx#L9
Expected indentation of 2 spaces but found 4
|
Run Linting:
src/components/base/InputField.tsx#L10
Expected indentation of 4 spaces but found 8
|
Run Linting:
src/components/base/InputField.tsx#L11
Expected indentation of 6 spaces but found 15
|
Run Linting:
src/components/base/InputField.tsx#L12
Expected indentation of 2 spaces but found 4
|
Run Linting:
src/components/tree-modal/ContentModal.tsx#L1
'useState' is defined but never used
|
Run Linting:
src/components/tree/TreeNode.tsx#L25
Expected indentation of 8 spaces but found 11
|
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/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/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
|
Run Linting:
src/components/tree-modal/ContentModal.tsx#L44
React Hook useEffect has a missing dependency: 'setTreeNodes'. Either include it or remove the dependency array
|
Loading