Remove no longer needed hotfixes
[MAILPOET-5138]
This commit is contained in:
committed by
John Oleksowicz
parent
d7ccd75744
commit
403ea6022e
@@ -26,9 +26,6 @@ export function FormTokenField({
|
|||||||
}: FormTokenFieldProps): JSX.Element {
|
}: FormTokenFieldProps): JSX.Element {
|
||||||
return (
|
return (
|
||||||
<WpFormTokenField
|
<WpFormTokenField
|
||||||
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
||||||
// @ts-ignore
|
|
||||||
// The following error seems to be a mismatch. It claims the 'label' prop does not exist, but it does.
|
|
||||||
label={label}
|
label={label}
|
||||||
value={value.map((item) => item.name)}
|
value={value.map((item) => item.name)}
|
||||||
suggestions={suggestions.map((item) => item.name)}
|
suggestions={suggestions.map((item) => item.name)}
|
||||||
|
@@ -48,9 +48,6 @@ export function RolePanel(): JSX.Element {
|
|||||||
<PlainBodyTitle title={__('Trigger settings', 'mailpoet')} />
|
<PlainBodyTitle title={__('Trigger settings', 'mailpoet')} />
|
||||||
<SettingsInfoText />
|
<SettingsInfoText />
|
||||||
<FormTokenField
|
<FormTokenField
|
||||||
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
||||||
// @ts-ignore
|
|
||||||
// The following error seems to be a mismatch. It claims the 'label' prop does not exist, but it does.
|
|
||||||
label={__('When WordPress user role is:', 'mailpoet')}
|
label={__('When WordPress user role is:', 'mailpoet')}
|
||||||
value={selected}
|
value={selected}
|
||||||
suggestions={userRoles}
|
suggestions={userRoles}
|
||||||
|
Reference in New Issue
Block a user