diff options
| author | Rafi Zadanly <rafizadanly@gmail.com> | 2022-12-29 15:42:13 +0700 |
|---|---|---|
| committer | Rafi Zadanly <rafizadanly@gmail.com> | 2022-12-29 15:42:13 +0700 |
| commit | d146724a798d8647611466ee014769ea9953262b (patch) | |
| tree | 9ee270a595f4c160d0f1227ea8ff5e4b0efc5cb6 | |
| parent | 502fac23304b29ced974ec0c8f30ae204eda88cd (diff) | |
no message
| -rw-r--r-- | src/pages/shop/checkout.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pages/shop/checkout.js b/src/pages/shop/checkout.js index 3eea9e74..0fbf8556 100644 --- a/src/pages/shop/checkout.js +++ b/src/pages/shop/checkout.js @@ -33,7 +33,7 @@ export default function Checkout() { const changePayment = (index) => { let payment = payments[index]; if (selectedPayment == payment.name) { - navigator.clipboard.writeText(text) + navigator.clipboard.writeText(payment.number) .then(() => { toast.success('Nomor bank berhasil disalin', { position: 'bottom-center', duration: 1500 }); }) |
