Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filter out stablecoins not on Ethereum #6300

Merged
merged 2 commits into from
May 16, 2022
Merged

Filter out stablecoins not on Ethereum #6300

merged 2 commits into from
May 16, 2022

Conversation

corwintines
Copy link
Member

Description

  • update stablecoins filter to take out stablecoins not on Ethereum.

@gatsby-cloud
Copy link

gatsby-cloud bot commented May 11, 2022

Gatsby Cloud Build Report

ethereum-org-website-dev

🎉 Your build was successful! See the Deploy preview here.

Build Details

View the build logs here.

🕐 Build time: 9m

Performance

Lighthouse report

Metric Score
Performance 🔶 25
Accessibility 💚 100
Best Practices 💚 100
SEO 💚 92

🔗 View full report

"https://api.coingecko.com/api/v3/coins/markets?vs_currency=usd&category=stablecoins&order=market_cap_desc&per_page=100&page=1&sparkline=false"
)

const filteredData = stablecoinData.filter(
Copy link
Contributor

Choose a reason for hiding this comment

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

Perhaps we should add a comment to make clear what's happening here? Or perhaps a different variable name instead of filteredData to clarify, e.g. ethereumStablecoinData?

Copy link
Member Author

Choose a reason for hiding this comment

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

Will give another pass on variable names, and some documentation. Guilty of not writing enough of that.

Copy link
Contributor

@samajammin samajammin left a comment

Choose a reason for hiding this comment

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

One small comment - agree with this change overall, I think we should only display stablecoins on Ethereum 👍

@corwintines
Copy link
Member Author

@samajammin @minimalsm addressed the comments :)

@minimalsm minimalsm merged commit ab4c213 into dev May 16, 2022
@minimalsm minimalsm deleted the stablecoin-update branch May 16, 2022 10:13
@corwintines corwintines mentioned this pull request May 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
content 🖋️ This involves copy additions or edits
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants