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

Fix cannot perform a react state update on an unmounted component

Open chantal-kelm opened this issue 1 month ago • 5 comments

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

image image image image

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

chantal-kelm avatar May 23 '24 18:05 chantal-kelm