Skip to content

Merge pull request #152 from badaitech/fix/duplicate-node #6

Merge pull request #152 from badaitech/fix/duplicate-node

Merge pull request #152 from badaitech/fix/duplicate-node #6

Triggered via push May 15, 2025 20:45
Status Success
Total duration 9m 45s
Artifacts

release.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
Release: apps/chaingraph-frontend/src/components/flow/nodes/ChaingraphNode/SchemaEditor/ArrayItemSchemaEditor.tsx#L130
The 'itemConfig' logical expression could make the dependencies of useCallback Hook (at line 227) change on every render. To fix this, wrap the initialization of 'itemConfig' in its own useMemo() Hook
Release: apps/chaingraph-frontend/src/components/flow/nodes/ChaingraphNode/SchemaEditor/ArrayItemSchemaEditor.tsx#L130
The 'itemConfig' logical expression could make the dependencies of useCallback Hook (at line 220) change on every render. To fix this, wrap the initialization of 'itemConfig' in its own useMemo() Hook
Release: apps/chaingraph-frontend/src/components/flow/edges/FlowEdge.tsx#L268
Do not call the 'set' function 'setPathLength' of 'useState' directly in 'useEffect'
Release: apps/chaingraph-frontend/src/components/flow/edges/FlowEdge.tsx#L216
A/an 'object expression' as default prop. This could lead to potential infinite render loop in React. Use a variable instead of 'object expression'
Release: apps/chaingraph-frontend/src/components/flow/edges/FlowEdge.tsx#L178
Do not use item index in the array as its key
Release: apps/chaingraph-frontend/src/components/flow/edges/FlowEdge.tsx#L166
The ref value 'particlesRef.current' will likely have changed by the time this effect cleanup function runs. If this ref points to a node rendered by React, copy 'particlesRef.current' to a variable inside the effect, and use that variable in the cleanup function
Release: apps/chaingraph-frontend/src/components/flow/edges/FlowEdge.tsx#L150
Do not call the 'set' function 'forceUpdate' of 'useState' directly in 'useEffect'
Release: apps/chaingraph-frontend/src/components/flow/edges/AnimatedEdge.tsx#L35
A/an 'object expression' as default prop. This could lead to potential infinite render loop in React. Use a variable instead of 'object expression'
Release: apps/chaingraph-frontend/src/components/flow/components/context-menu/NodeContextMenu.tsx#L79
Do not call the 'set' function 'setMenuPosition' of 'useState' directly in 'useEffect'
Release: apps/chaingraph-frontend/src/components/flow/components/FlowEmptyState.tsx#L143
Do not use item index in the array as its key