Skip to content

Commit

Permalink
removed deposit stats from cabanalytics until further optimization
Browse files Browse the repository at this point in the history
  • Loading branch information
Ncookiez committed Jul 17, 2024
1 parent c01ea1c commit 94b6596
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions apps/analytics/src/components/Stats/TVLStats.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ interface TVLStatsProps {
export const TVLStats = (props: TVLStatsProps) => {
const { prizePool, className } = props

const { data: deposits } = useDeposits(prizePool)
// TODO: disabled until this is more efficient (currently spamming waaaaay too many eth_getBlock calls)
// const { data: deposits } = useDeposits(prizePool)

return (
<div className={classNames('w-full flex flex-col items-center gap-4', className)}>
Expand All @@ -24,7 +25,7 @@ export const TVLStats = (props: TVLStatsProps) => {
<TVLOverTimeChart prizePool={prizePool} />
<TVLByTokenChart prizePool={prizePool} />
</div>
<StatCards
{/* <StatCards
cards={[
{
id: 'medianDeposit',
Expand All @@ -46,7 +47,7 @@ export const TVLStats = (props: TVLStatsProps) => {
}
]}
className='sm:grid-cols-2'
/>
/> */}
</div>
)
}

0 comments on commit 94b6596

Please sign in to comment.