From 87511fcaed834f98c8b4abf6a78069a491593ff4 Mon Sep 17 00:00:00 2001 From: ingawei Date: Thu, 29 Sep 2022 16:46:40 -0700 Subject: [PATCH] :) --- .../portfolio/portfolio-value-section.tsx | 31 ------------------- 1 file changed, 31 deletions(-) diff --git a/web/components/portfolio/portfolio-value-section.tsx b/web/components/portfolio/portfolio-value-section.tsx index 688dbf10..6bddc71e 100644 --- a/web/components/portfolio/portfolio-value-section.tsx +++ b/web/components/portfolio/portfolio-value-section.tsx @@ -147,34 +147,3 @@ export function PortfolioPeriodSelection(props: { ) } - -export function GraphToggle(props: { - setGraphMode: (mode: 'profit' | 'value') => void - graphMode: string -}) { - const { setGraphMode, graphMode } = props - return ( - - { - setGraphMode('value') - }} - xs={true} - className="z-50" - > - Value - - { - setGraphMode('profit') - }} - xs={true} - className="z-50" - > - Profit - - - ) -}