mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-04 08:47:23 +08:00
Remove unneeded variable
This commit is contained in:
parent
ba4f46f683
commit
1f2e5f24e1
1 changed files with 1 additions and 2 deletions
|
@ -55,9 +55,8 @@ const ApplePayComponent = () => {
|
|||
}
|
||||
|
||||
const features = ['products'];
|
||||
let registerMethod = registerExpressPaymentMethod;
|
||||
|
||||
registerMethod({
|
||||
registerExpressPaymentMethod({
|
||||
name: buttonData.id,
|
||||
label: <div dangerouslySetInnerHTML={{__html: buttonData.title}}/>,
|
||||
content: <ApplePayComponent isEditing={false}/>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue