Skip to content

Commit

Permalink
clean console log
Browse files Browse the repository at this point in the history
  • Loading branch information
SecretSaturn committed Oct 8, 2024
1 parent 040edb4 commit 2e1eb61
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 14 deletions.
11 changes: 0 additions & 11 deletions src/pages/dashboard/components/StakingChart.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,17 +52,6 @@ export default function StakingChart() {
})

useEffect(() => {
console.log(
bondedToken,
notBondedToken,
totalSupply,
communityPool,
sSCRTTokenSupply,
stkdSCRTTokenSupply,
IBCTokenSupply,
exchangesTokenSupply,
burnedTokenSupply
)
if (
bondedToken &&
notBondedToken &&
Expand Down
5 changes: 2 additions & 3 deletions src/store/TokenPrices.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,8 @@ export const useTokenPricesStore = create<TokenPricesState>()((set, get) => ({
init: () => {
let prices: CoinPrice[]

let coinGeckoIdsString: string = allTokens.map((token) => token.coingecko_id).join(',')

console.log(coinGeckoIdsString)
/*let coinGeckoIdsString: string = allTokens.map((token) => token.coingecko_id).join(',')
console.log(coinGeckoIdsString)*/

// fetch(`https://api.coingecko.com/api/v3/simple/price?ids=${coinGeckoIdsString}&vs_currencies=USD`)
fetch(`https://priceapibuffer.secretsaturn.net/getPrices`)
Expand Down

0 comments on commit 2e1eb61

Please sign in to comment.