Skip to content

Commit

Permalink
fix: token name issues
Browse files Browse the repository at this point in the history
  • Loading branch information
bhargavaparoksham committed Oct 12, 2023
1 parent 6608ba7 commit 9d357c8
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,8 @@ export function ViewContributionHistory(props: {
props.contributions.forEach((chainContribution) => {
const { data } = chainContribution;
data.forEach((contribution) => {
const tokenId = contribution.token + "-" + chainContribution.chainId;
const tokenId =
contribution.token.toLowerCase() + "-" + chainContribution.chainId;
const token = props.tokens[tokenId];
if (token) {
totalDonations += contribution.amountUSD;
Expand Down

0 comments on commit 9d357c8

Please sign in to comment.