Skip to content

Commit

Permalink
loading
Browse files Browse the repository at this point in the history
  • Loading branch information
steskelt committed Mar 27, 2024
1 parent e95c61b commit f59bca6
Showing 1 changed file with 17 additions and 16 deletions.
33 changes: 17 additions & 16 deletions _pages/rankings.html
Original file line number Diff line number Diff line change
Expand Up @@ -522,22 +522,23 @@ <h5 class="card-title">${this.profileTitle(item)}</h5>
}

fetchInfluencers(){

<!-- const symbol = this.selectedStockItem == null ? '' : '/' + this.selectedStockItem.symbol;-->
<!-- const url = 'https://cf.tradeaudit.app/influencers/' + (this.isTop ? 'top' : 'bottom') + symbol;-->
<!-- -->
<!-- // Making our request-->
<!-- fetch(url, { method: 'GET' })-->
<!-- .then(Result => Result.json())-->
<!-- .then(body => {-->
<!-- this.influencers = body.influencers;-->
<!-- this.requestUpdate();-->
<!-- })-->
<!-- .catch(errorMsg => { -->
<!-- console.log(errorMsg);-->
<!-- this.influencers = [];-->
<!-- this.requestUpdate();-->
<!-- });-->
/*
const symbol = this.selectedStockItem == null ? '' : '/' + this.selectedStockItem.symbol;
const url = 'https://cf.tradeaudit.app/influencers/' + (this.isTop ? 'top' : 'bottom') + symbol;
// Making our request
fetch(url, { method: 'GET' })
.then(Result => Result.json())
.then(body => {
this.influencers = body.influencers;
this.requestUpdate();
})
.catch(errorMsg => {
console.log(errorMsg);
this.influencers = [];
this.requestUpdate();
});
*/
}
}
customElements.define('stock-toolbar', StockToolbar);
Expand Down

0 comments on commit f59bca6

Please sign in to comment.