From 72042822fc15405501051a8e851d31bdc50fac59 Mon Sep 17 00:00:00 2001 From: Davide Silva Date: Tue, 21 May 2024 19:23:54 +0100 Subject: [PATCH] hotfix --- packages/web-app/app/_lib/queries.tsx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/packages/web-app/app/_lib/queries.tsx b/packages/web-app/app/_lib/queries.tsx index f51ce1cc..c293cca1 100644 --- a/packages/web-app/app/_lib/queries.tsx +++ b/packages/web-app/app/_lib/queries.tsx @@ -314,11 +314,7 @@ export const useUserTotalInvestedUsdcCtznd = (address: `0x${string}`) => { export const useCtzndMinContributionUsdc = () => { const { data: min } = useReadCtzndSaleMinContribution(); - const { data: minUsdc } = useReadCtzndSaleTokenToPaymentToken({ - args: [min || 0n], - }); - - const usdcValue = min && minUsdc ? formatUnits(minUsdc, 6) : '0'; + const usdcValue = min ? formatUnits(min, 6) : '0'; return usdcValue; };