File tree Expand file tree Collapse file tree 1 file changed +1
-15
lines changed
packages/grant-explorer/src/features/round/ViewCartPage Expand file tree Collapse file tree 1 file changed +1
-15
lines changed Original file line number Diff line number Diff line change @@ -275,31 +275,17 @@ export function SummaryContainer(props: {
275
275
getTokenPrice (
276
276
getVotingTokenForChain ( parseChainId ( chainId ) ) . redstoneTokenId
277
277
) . 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 ) ;
286
279
} )
287
280
)
288
281
) ;
289
282
}
290
283
) ;
291
284
292
- console . log (
293
- "totalDonationAcrossChainsInUSDData" ,
294
- totalDonationAcrossChainsInUSDData
295
- ) ;
296
-
297
285
const totalDonationAcrossChainsInUSD = (
298
286
totalDonationAcrossChainsInUSDData ?? [ ]
299
287
) . reduce ( ( acc , curr ) => acc + curr , 0 ) ;
300
288
301
- console . log ( "totalDonationAcrossChainsInUSD" , totalDonationAcrossChainsInUSD ) ;
302
-
303
289
/* Matching estimates are calculated per-round */
304
290
const matchingEstimateParamsPerRound =
305
291
rounds ?. map ( ( round ) => {
You can’t perform that action at this time.
0 commit comments