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