wazuh-dashboard-plugins
wazuh-dashboard-plugins copied to clipboard
Warnings and errors in console
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 typearray
supplied toI18nProvider
, expected a single ReactElement - https://github.com/wazuh/wazuh-dashboard-plugins/pull/6698
Evidence
- [ ] Can't perform a React state update on an unmounted component. https://github.com/wazuh/wazuh-dashboard-plugins/pull/6704
Evidence
- [ ] componentWillReceiveProps has been renamed, and is not recommended for use.
Evidence
- [ ] Failed prop type: EuiSuggestItem: prop type
type.iconType
is invalid
Evidence
- [x] Warning: validateDOMNesting(...):
<div>
cannot appear as a descendant of<p>
. - https://github.com/wazuh/wazuh-dashboard-plugins/pull/6701
Evidence
- [ ] EuiButtonIcon requires aria-label or aria-labelledby to be specified because icon-only buttons are screen-reader-inaccessible without them.
Evidence
- [ ] Failed prop type: The prop
onChange
is marked as required inEuiSwitch
, but its value isundefined
.
Evidence
- [x] Failed prop type: Invalid props supplied to
EuiInMemoryTable
- https://github.com/wazuh/wazuh-dashboard-plugins/pull/6707
Evidence
- [ ] Error: Embeddable has been destroyed
Steps for reproduce:
- Go to Threat intelligence > Threat Hunting and change between tabs quickly
Evidence
- [ ] Each child in a list should have a unique "key" prop.