wazuh-dashboard-plugins
wazuh-dashboard-plugins copied to clipboard
Fix cannot perform a react state update on an unmounted component
Description
Fix cannot perform a React state update on an unmounted component in the framework tab of the MITRE ATT&CK module, in the inventory data and stats tabs of the endpoint summary module.
Issues Resolved
#6693
Evidence
Test
- Go to the Framework tab of the MITRE ATT&CK module and verify that there is no warning in the console with the message Can't perform a React state update on an unmounted component.
- Go to the Endpoint summary module, select an agent then select inventory data and check that there is no warning in the console with the message Can't perform a React state update on an unmounted component.
- Go to the Endpoint summary module, select an agent then select stats and check that there is no warning in the console with the message Can't perform a React state update on an unmounted component.
Check List
- [ ] All tests pass
- [ ]
yarn test:jest
- [ ]
- [ ] New functionality includes testing.
- [ ] New functionality has been documented.
- [ ] Update CHANGELOG.md
- [x] Commits are signed per the DCO using --signoff