Skip to content

Commit

Permalink
feed error persists
Browse files Browse the repository at this point in the history
  • Loading branch information
codypharm committed Jan 27, 2024
1 parent a401471 commit 6a464ca
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions src/app/presale/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,8 @@ const PresalePage = () => {
}
}

console.log(maticFeed)

const calcToken = (val: number) => {
console.log(maticFeed, usdtFeed)
const decenInUSD = val * decenRate
const amtInUSDT = decenInUSD * usdtRate
const amtInMATIC = decenInUSD * maticRate
Expand Down Expand Up @@ -183,13 +182,10 @@ const PresalePage = () => {
}

useEffect(() => {
if (maticFeed) {
handleMaticFeed()
}

if (usdtFeed) {
handleUsdtFeed()
}
handleMaticFeed()
handleUsdtFeed()

})

useEffect(() => {
Expand Down

0 comments on commit 6a464ca

Please sign in to comment.