mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 10:55:00 +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>
|
||||
<TextControl
|
||||
__nextHasNoMarginBottom={ true }
|
||||
__nextHasNoMarginBottom
|
||||
className="ppcp-r-vertical-text-control"
|
||||
placeholder={ placeholder }
|
||||
value={ value }
|
||||
|
|
|
@ -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 }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue