From e9d3e80d247c7093fc236d94177969d45a0bb680 Mon Sep 17 00:00:00 2001 From: tjs Date: Mon, 17 Apr 2023 17:19:05 -0400 Subject: [PATCH] remove commented out code --- components/stats/PerpStatsPage.tsx | 26 -------------------------- 1 file changed, 26 deletions(-) diff --git a/components/stats/PerpStatsPage.tsx b/components/stats/PerpStatsPage.tsx index 887017b8..42714949 100644 --- a/components/stats/PerpStatsPage.tsx +++ b/components/stats/PerpStatsPage.tsx @@ -10,10 +10,6 @@ const PerpStatsPage = () => { const { market } = router.query const { group } = useMangoGroup() const perpStats = mangoStore((s) => s.perpStats.data) - // const [animationSettings] = useLocalStorageState( - // ANIMATION_SETTINGS_KEY, - // INITIAL_ANIMATION_SETTINGS - // ) useEffect(() => { if (!perpStats || !perpStats.length) { @@ -32,11 +28,6 @@ const PerpStatsPage = () => { const marketStats = perpStats .filter((stat) => stat.market_index === marketDetails.perpMarketIndex) .reverse() - // const change = marketStats.length - // ? ((marketDetails.uiPrice - marketStats[0].price) / - // marketStats[0].price) * - // 100 - // : 0 return marketStats }, [marketDetails, perpStats]) @@ -48,23 +39,6 @@ const PerpStatsPage = () => {

{marketDetails.name}

- {/*
-
- {animationSettings['number-scroll'] ? ( - - ) : ( - - )} -
- -
*/}