Skip to content

Commit

Permalink
hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
DavideSilva committed May 21, 2024
1 parent 85a2475 commit 7204282
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions packages/web-app/app/_lib/queries.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};
Expand Down

0 comments on commit 7204282

Please sign in to comment.