Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Security Solution] Test rule_details_ui/pages/rule_details/index.tes…
…t.tsx logs a warning about wrong props passed to EuiSwitch (elastic#162229) ## Summary Related ticket: elastic#147065 This PR fixes the warning within the `rule_details_ui/pages/rule_details/index.test.tsx` test which happens because instead of using required `EuiSwitch`'s `label` field we pass `undefined`. Since, we do not intend to show the label we make it explicitly with `showLabel={false}` and set `label` to an empty string. For more details see [the overview of the EuiSwitch](https://elastic.github.io/eui/#/forms/selection-controls) component.
- Loading branch information