Skip to content

Commit

Permalink
Hotfix 1.12.6 (#656)
Browse files Browse the repository at this point in the history
* Fix missing price warning

* 1.12.6
  • Loading branch information
garethfuller authored Aug 10, 2021
1 parent bd873fc commit 2397ee0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@balancer-labs/frontend-v2",
"version": "1.12.5",
"version": "1.12.6",
"engines": {
"node": "14.x",
"npm": ">=7"
Expand Down
7 changes: 3 additions & 4 deletions src/services/coingecko/api/price.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -146,10 +146,9 @@ export class PriceService {
{}
);
const entries = Object.entries(results);
const parsedEntries = entries.map(result => [
this.addressMapOut(result[0]),
result[1]
]);
const parsedEntries = entries
.filter(result => Object.keys(result[1]).length > 0)
.map(result => [this.addressMapOut(result[0]), result[1]]);
return Object.fromEntries(parsedEntries);
}

Expand Down

3 comments on commit 2397ee0

@vercel
Copy link

@vercel vercel bot commented on 2397ee0 Aug 10, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 2397ee0 Aug 10, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 2397ee0 Aug 10, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

app – ./

pm2.vercel.app
app-balancer.vercel.app
app-git-master-balancer.vercel.app
app.balancer.fi

Please sign in to comment.