From 94b6596ff5ae767ba6d3e13bf6f808a6b62c392e Mon Sep 17 00:00:00 2001 From: Ncookie Date: Wed, 17 Jul 2024 17:32:27 -0300 Subject: [PATCH] removed deposit stats from cabanalytics until further optimization --- apps/analytics/src/components/Stats/TVLStats.tsx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/apps/analytics/src/components/Stats/TVLStats.tsx b/apps/analytics/src/components/Stats/TVLStats.tsx index f4223f2b..720f314d 100644 --- a/apps/analytics/src/components/Stats/TVLStats.tsx +++ b/apps/analytics/src/components/Stats/TVLStats.tsx @@ -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 (
@@ -24,7 +25,7 @@ export const TVLStats = (props: TVLStatsProps) => {
- { } ]} className='sm:grid-cols-2' - /> + /> */} ) }