🩹 Resolve a wp-components deprecation warning

This commit is contained in:
Philipp Stracker 2025-02-05 12:59:32 +01:00
parent 23922f6095
commit 1310901b03
No known key found for this signature in database
2 changed files with 3 additions and 1 deletions

View file

@ -10,7 +10,7 @@ const ControlTextInput = ( {
} ) => ( } ) => (
<Action> <Action>
<TextControl <TextControl
__nextHasNoMarginBottom={ true } __nextHasNoMarginBottom
className="ppcp-r-vertical-text-control" className="ppcp-r-vertical-text-control"
placeholder={ placeholder } placeholder={ placeholder }
value={ value } value={ value }

View file

@ -151,6 +151,7 @@ const ManualConnectionForm = () => {
setToggled={ setManualConnectionMode } setToggled={ setManualConnectionMode }
> >
<DataStoreControl <DataStoreControl
__nextHasNoMarginBottom
control={ TextControl } control={ TextControl }
ref={ refClientId } ref={ refClientId }
label={ clientIdLabel } label={ clientIdLabel }
@ -166,6 +167,7 @@ const ManualConnectionForm = () => {
</p> </p>
) } ) }
<DataStoreControl <DataStoreControl
__nextHasNoMarginBottom
control={ TextControl } control={ TextControl }
ref={ refClientSecret } ref={ refClientSecret }
label={ secretKeyLabel } label={ secretKeyLabel }