fix(security): remediate PROD-5142 dependencies #13890
assets.yaml
on: pull_request
Unit test
1m 59s
Lint
3m 19s
Annotations
5 warnings
|
Lint:
assets/src/components/workbenches/workbench/job/WorkbenchJobPanel.tsx#L108
The 'pullRequests' logical expression could make the dependencies of useMemo Hook (at line 155) change on every render. To fix this, wrap the initialization of 'pullRequests' in its own useMemo() Hook
|
|
Lint:
assets/src/components/workbenches/workbench/job/WorkbenchJobPanel.tsx#L108
The 'pullRequests' logical expression could make the dependencies of useMemo Hook (at line 115) change on every render. To fix this, wrap the initialization of 'pullRequests' in its own useMemo() Hook
|
|
Lint:
assets/src/components/kubernetes/network/IngressClasses.tsx#L50
React Hook useMemo has an unnecessary dependency: 'colController'. Either exclude it or remove the dependency array. Outer scope values like 'colController' aren't valid dependencies because mutating them doesn't re-render the component
|
|
Lint:
assets/src/components/ai/agent-runs/details/AIAgentRun.tsx#L324
Functions returned from `useEffectEvent` must not be included in the dependency array. Remove `sendTopQueuePrompt` from the list
|
|
Lint:
assets/design-system/src/components/Switch.tsx#L159
React Hook useMemo has a missing dependency: 'variant'. Either include it or remove the dependency array
|