fix: optimization

This commit is contained in:
Aidar Shaikhutdin @makeweb.space 2023-06-20 16:44:29 +03:00
parent 94271bacd0
commit c808e43b79
3 changed files with 2 additions and 2 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 MiB

After

Width:  |  Height:  |  Size: 374 KiB

View File

@ -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)

View File

@ -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',
}