fix: optimization
This commit is contained in:
parent
94271bacd0
commit
c808e43b79
Binary file not shown.
|
Before Width: | Height: | Size: 1.6 MiB After Width: | Height: | Size: 374 KiB |
@ -34,7 +34,7 @@ export function ApplePayButton({ onSuccess, onError }: ApplePayButtonProps): JSX
|
||||
if (data === null) return
|
||||
const buttonOptions: ApplePayButtonOptions = {
|
||||
buttonColor: 'black',
|
||||
buttonType: 'pay',
|
||||
buttonType: 'plain',
|
||||
locale: i18n.language
|
||||
}
|
||||
applePay?.setPaymentIntent(data)
|
||||
|
||||
@ -34,7 +34,7 @@ export function GooglePayButton({ onSuccess, onError }: GooglePayButtonProps): J
|
||||
if (data === null) return
|
||||
const buttonOptions: GooglePayButtonOptions = {
|
||||
buttonColor: 'black',
|
||||
buttonType: 'pay',
|
||||
buttonType: 'plain',
|
||||
buttonLocale: i18n.language,
|
||||
buttonSizeMode: 'fill',
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user