Skip to content

#1113 fixed cyctoscape render bug on upload #90

#1113 fixed cyctoscape render bug on upload

#1113 fixed cyctoscape render bug on upload #90

Triggered via pull request April 2, 2025 21:44
Status Failure
Total duration 33s
Artifacts

build-calm-hub-ui.yml

on: pull_request
Build, Test, and Lint Shared Module
25s
Build, Test, and Lint Shared Module
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 3 warnings
Build, Test, and Lint Shared Module: calm-hub-ui/src/visualizer/Visualizer.tsx#L18
Unexpected any. Specify a different type
Build, Test, and Lint Shared Module: calm-hub-ui/src/visualizer/Visualizer.tsx#L19
Prefer using the primitive `string` as a type name, rather than the upper-cased `String`
Build, Test, and Lint Shared Module
Process completed with exit code 1.
Build, Test, and Lint Shared Module: calm-hub-ui/src/index.tsx#L11
Fast refresh only works when a file has exports. Move your component(s) to a separate file
Build, Test, and Lint Shared Module: calm-hub-ui/src/visualizer/Visualizer.tsx#L17
The 'data' logical expression could make the dependencies of useEffect Hook (at line 30) change on every render. Move it inside the useEffect callback. Alternatively, wrap the initialization of 'data' in its own useMemo() Hook
Build, Test, and Lint Shared Module: calm-hub-ui/src/visualizer/components/cytoscape-renderer/CytoscapeRenderer.tsx#L165
React Hook useEffect has missing dependencies: 'cy' and 'getNodeLabelTemplateGenerator'. Either include them or remove the dependency array