From 553db7194aea862cc9df17822e2b2d7259bc9170 Mon Sep 17 00:00:00 2001 From: "nabijonovdavronbek619@gmail.com" Date: Thu, 9 Apr 2026 20:04:24 +0500 Subject: [PATCH] payment link chnage to new link --- src/widgets/history/ui/historyTableRow.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/widgets/history/ui/historyTableRow.tsx b/src/widgets/history/ui/historyTableRow.tsx index 8f9ec6c..5ac50b9 100644 --- a/src/widgets/history/ui/historyTableRow.tsx +++ b/src/widgets/history/ui/historyTableRow.tsx @@ -49,7 +49,7 @@ export const HistoryTableRow: React.FC< const payment = useMutation({ mutationKey: ['payment', item.order_id], mutationFn: ({ order_id }: { order_id: number }) => - apiRequest<{ payment_link: string }>('POST', links.payment(order_id)), + apiRequest<{ payment_link: string }>('POST', links.demo_pay(order_id)), onSuccess: (res) => { window.open(res.data.payment_link, '_self'); setIsPaymentOpen(false);