Skip to content

Commit

Permalink
refactor: remove logs
Browse files Browse the repository at this point in the history
  • Loading branch information
NandyBa committed Aug 17, 2024
1 parent 94102b8 commit 791ef77
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion src/components/assetsView/views/AssetGrid.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ export const AssetGrid: FC<{ realtokens: (UserRealtoken | RWARealtoken)[] }> = (
}

const paginationOffers: (UserRealtoken | RWARealtoken)[] = useMemo(() => {
console.log({ realtokens: props.realtokens })
if (pageSize === Infinity) return props.realtokens
const start = (page - 1) * pageSize
const end = start + pageSize
Expand Down
1 change: 0 additions & 1 deletion src/hooks/useFullyRentedAPR.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ export const useGeneralFullyRentedAPR = (tokens: UserRealtoken[]) => {
if (isDisabled) return acc
return acc + token.value * fullyRentedAPREstimation(token)
}, 0)
console.log({ totalValue, totalAPR, fullyRentedAPR: totalAPR / totalValue })
return totalAPR / totalValue
}, [tokens, rentCalculation])

Expand Down
2 changes: 0 additions & 2 deletions src/pages/yamStatistics.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ const YamStatisticsPage = () => {
}

const yamStatisticsPromise: Promise<YamStatistics[]> = useMemo(async () => {
console.log({ realtokens })
if (!realtokensWithYam.length) return Promise.resolve([])
const statsPromises = realtokensWithYam.map((realtoken) =>
GetYamStatistics({ realtoken }),
Expand All @@ -101,7 +100,6 @@ const YamStatisticsPage = () => {
yamStatisticsPromise.then((data) => {
setYamStatistics(data)
setIsLoading(false)
console.log({ data })
})
}, [yamStatisticsPromise])

Expand Down

0 comments on commit 791ef77

Please sign in to comment.