change end point wallet and score

This commit is contained in:
hamid zarghami
2025-12-30 11:59:04 +03:30
parent ca53e15d49
commit 965af04109
5 changed files with 35 additions and 9 deletions
@@ -40,7 +40,7 @@ export const PaymentSection = ({ paymentType, onPaymentTypeChange }: PaymentSect
const { isSuccess } = useGetProfile();
const { data: cartData } = useGetCartItems(isSuccess);
const walletAmount = userWallet?.data?.wallet ?? 0;
const walletAmount = userWallet?.data?.balance ?? 0;
const totalAmount = cartData?.data?.total ?? 0;
const isWalletInsufficient = walletAmount < totalAmount;