🩹 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>
<TextControl
__nextHasNoMarginBottom={ true }
__nextHasNoMarginBottom
className="ppcp-r-vertical-text-control"
placeholder={ placeholder }
value={ value }

View file

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