lib: Drop unknown noVerticalAlign property from HelpIcon

This isn't documented anywhere on https://www.patternfly.org/components/icon/,
no other instance uses it, and React complains about it:

> React does not recognize the `noVerticalAlig` prop on a DOM element.
We don't cover that bit in Cockpit's tests, but cockpit-machines does.
This commit is contained in:
Martin Pitt 2023-10-27 09:48:11 +02:00 committed by Martin Pitt
parent bddb697ff2
commit 0f31099539

View file

@ -99,7 +99,7 @@ export const PasswordFormFields = ({
<Popover bodyContent={password_label_info}>
<button onClick={e => e.preventDefault()}
className="pf-v5-c-form__group-label-help">
<HelpIcon noVerticalAlign />
<HelpIcon />
</button>
</Popover>
}