diff --git a/web/components/portfolio/portfolio-value-section.tsx b/web/components/portfolio/portfolio-value-section.tsx index 688dbf10..d7fff6ef 100644 --- a/web/components/portfolio/portfolio-value-section.tsx +++ b/web/components/portfolio/portfolio-value-section.tsx @@ -4,7 +4,6 @@ import { last } from 'lodash' import { memo, useRef, useState } from 'react' import { usePortfolioHistory } from 'web/hooks/use-portfolio-history' import { Period } from 'web/lib/firebase/users' -import { PillButton } from '../buttons/pill-button' import { Col } from '../layout/col' import { Row } from '../layout/row' import { PortfolioValueGraph } from './portfolio-value-graph' @@ -147,34 +146,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 - - - ) -}