Skip to content

Commit

Permalink
changing name of grant var to avoid colission
Browse files Browse the repository at this point in the history
  • Loading branch information
phutchins committed Sep 17, 2021
1 parent a33f673 commit 3bd7515
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/src/utils/data/grants.ts
Expand Up @@ -72,8 +72,8 @@ export async function getAllGrants(blockNumber: number, forceRefresh = false) {
// hydrate data from localStorage
const ls_grants = {
grants: grants.map((grant: Grant) => {
const updatedGrant = grantUpdates.find((grant) => {
return BigNumber.from(grant.id).toString() === BigNumber.from(grant.id).toString();
const updatedGrant = grantUpdates.find((foundGrant) => {
return BigNumber.from(grant.id).toString() === BigNumber.from(foundGrant.id).toString();
});

return {
Expand Down

0 comments on commit 3bd7515

Please sign in to comment.