mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 09:08:09 +08:00
🩹 Resolve a wp-components deprecation warning
This commit is contained in:
parent
23922f6095
commit
1310901b03
2 changed files with 3 additions and 1 deletions
|
@ -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 }
|
||||||
|
|
|
@ -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 }
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue