-
Notifications
You must be signed in to change notification settings - Fork 8.5k
Closed
Labels
Team:Kibana ManagementDev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more t//Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more t//chore
Description
Supports #49554
kibana/src/plugins/es_ui_shared/public/components/json_editor/json_editor.tsx
55:33 error React Hook useCallback received a function whose dependencies are unknown. Pass an inline function instead react-hooks/exhaustive-deps
79:7 error React Hook useCallback has missing dependencies: 'debouncedSetContent' and 'onUpdate'. Either include them or remove the dependency array. If 'onUpdate' changes too often, find the parent component that defines it and wrap that definition in useCallback react-hooks/exhaustive-deps
kibana/src/plugins/es_ui_shared/public/components/json_editor/use_json.ts
87:6 error React Hook useEffect has missing dependencies: 'formatContent', 'isControlled', 'onUpdate', and 'validate'. Either include them or remove the dependency array. If 'onUpdate' changes too often, find the parent component that defines it and wrap that definition in useCallback react-hooks/exhaustive-deps
Metadata
Metadata
Assignees
Labels
Team:Kibana ManagementDev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more t//Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more t//chore