Browse Source

Remove fluff

pull/15/head
Luke Childs 5 years ago
parent
commit
4f2e613d03
  1. 4
      js/index.js

4
js/index.js

@ -82,11 +82,7 @@ const render = (coins, sortBy) => {
fetch('/api/data') fetch('/api/data')
.then(response => response.json()) .then(response => response.json())
.then(coins => { .then(coins => {
// Calculate reference bitcoin values
const bitcoin = coins.find(coin => coin.symbol === 'BTC'); const bitcoin = coins.find(coin => coin.symbol === 'BTC');
if (!bitcoin) {
// Handle this
}
coins = coins coins = coins
.filter(coin => !coinBlackList.includes(coin.symbol)) .filter(coin => !coinBlackList.includes(coin.symbol))

Loading…
Cancel
Save