Skip to content

Commit 1bcf9dc

Browse files
committed
fix submit button
1 parent 9c333df commit 1bcf9dc

File tree

1 file changed

+1
-15
lines changed

1 file changed

+1
-15
lines changed

packages/grant-explorer/src/features/round/ViewCartPage/SummaryContainer.tsx

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -275,31 +275,17 @@ export function SummaryContainer(props: {
275275
getTokenPrice(
276276
getVotingTokenForChain(parseChainId(chainId)).redstoneTokenId
277277
).then((price) => {
278-
return (
279-
Number(
280-
formatUnits(
281-
BigInt(totalAmountByChainId[Number(chainId)]),
282-
getVotingTokenForChain(parseChainId(chainId)).decimals
283-
)
284-
) * Number(price)
285-
);
278+
return totalAmountByChainId[Number(chainId)] * Number(price);
286279
})
287280
)
288281
);
289282
}
290283
);
291284

292-
console.log(
293-
"totalDonationAcrossChainsInUSDData",
294-
totalDonationAcrossChainsInUSDData
295-
);
296-
297285
const totalDonationAcrossChainsInUSD = (
298286
totalDonationAcrossChainsInUSDData ?? []
299287
).reduce((acc, curr) => acc + curr, 0);
300288

301-
console.log("totalDonationAcrossChainsInUSD", totalDonationAcrossChainsInUSD);
302-
303289
/* Matching estimates are calculated per-round */
304290
const matchingEstimateParamsPerRound =
305291
rounds?.map((round) => {

0 commit comments

Comments
 (0)