From 8931401ab6ba33afdcaac55e7d0331d97766a11e Mon Sep 17 00:00:00 2001 From: M-RB3 Date: Tue, 11 Jun 2024 22:18:09 +0400 Subject: [PATCH] fix pot donations --- src/modals/ModalDonation/ConfirmPot/ConfirmPot.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modals/ModalDonation/ConfirmPot/ConfirmPot.tsx b/src/modals/ModalDonation/ConfirmPot/ConfirmPot.tsx index 71db8b52..4529c443 100644 --- a/src/modals/ModalDonation/ConfirmPot/ConfirmPot.tsx +++ b/src/modals/ModalDonation/ConfirmPot/ConfirmPot.tsx @@ -78,8 +78,8 @@ const ConfirmPot = ({ } }) .catch((err: any) => { - console.log(err); - onClose(); + console.error("error fetching user's donations ", err); + // onClose(); }); // Clear the interval after 30 seconds setTimeout(() => {