summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/pages/shop/checkout.js2
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 });
})