fix: [DI-29314] - Wrong time range sent in metrics payload on preference reload in CloudPulse metrics #7759
Annotations
1 warning
|
ESLint Review (manager):
packages/manager/src/features/CloudPulse/Overview/GlobalFilters.tsx#L84
[eslint] reported by reviewdog 🐶
React Hook React.useCallback has a missing dependency: 'updatePreferences'. Either include it or remove the dependency array.
Raw Output:
{"ruleId":"react-hooks/exhaustive-deps","severity":1,"message":"React Hook React.useCallback has a missing dependency: 'updatePreferences'. Either include it or remove the dependency array.","line":84,"column":5,"nodeType":"ArrayExpression","endLine":84,"endColumn":41,"suggestions":[{"desc":"Update the dependencies array to be: [handleDashboardChange, preferences, updatePreferences]","fix":{"range":[2828,2864],"text":"[handleDashboardChange, preferences, updatePreferences]"}}]}
|