wazuh-dashboard-plugins icon indicating copy to clipboard operation
wazuh-dashboard-plugins copied to clipboard

Warnings and errors in console

Open asteriscos opened this issue 1 month ago • 0 comments

Wazuh Rev Browser
4.9.0 00 -

Description

The app has several warnings and some errors printed in the browser console. We need to address them.

Tasks

  • [x] Failed prop type: Invalid prop children of type array supplied to I18nProvider, expected a single ReactElement
  • https://github.com/wazuh/wazuh-dashboard-plugins/pull/6698
Evidence image
  • [ ] Can't perform a React state update on an unmounted component. https://github.com/wazuh/wazuh-dashboard-plugins/pull/6704
Evidence image

image

image image
  • [ ] componentWillReceiveProps has been renamed, and is not recommended for use.
Evidence

image

  • [ ] Failed prop type: EuiSuggestItem: prop type type.iconType is invalid
Evidence

image image

  • [x] Warning: validateDOMNesting(...): <div> cannot appear as a descendant of <p>.
  • https://github.com/wazuh/wazuh-dashboard-plugins/pull/6701
Evidence

image

  • [ ] EuiButtonIcon requires aria-label or aria-labelledby to be specified because icon-only buttons are screen-reader-inaccessible without them.
Evidence

image

  • [ ] Failed prop type: The prop onChange is marked as required in EuiSwitch, but its value is undefined.
Evidence

image

  • [x] Failed prop type: Invalid props supplied to EuiInMemoryTable
  • https://github.com/wazuh/wazuh-dashboard-plugins/pull/6707
Evidence

image image

  • [ ] Error: Embeddable has been destroyed

Steps for reproduce:

  • Go to Threat intelligence > Threat Hunting and change between tabs quickly
Evidence

image

  • [ ] Each child in a list should have a unique "key" prop.
Evidence

image

asteriscos avatar May 22 '24 14:05 asteriscos