diff --git a/web/components/portfolio/portfolio-value-section.tsx b/web/components/portfolio/portfolio-value-section.tsx index f868adbb..1fe39f6f 100644 --- a/web/components/portfolio/portfolio-value-section.tsx +++ b/web/components/portfolio/portfolio-value-section.tsx @@ -23,11 +23,8 @@ const periodToCutoff = (now: number, period: Period) => { } export const PortfolioValueSection = memo( - function PortfolioValueSection(props: { - userId: string - disableSelector?: boolean - }) { - const { disableSelector, userId } = props + function PortfolioValueSection(props: { userId: string }) { + const { userId } = props const [portfolioPeriod, setPortfolioPeriod] = useState('weekly') const [portfolioHistory, setUsersPortfolioHistory] = useState< @@ -48,9 +45,7 @@ export const PortfolioValueSection = memo(
- +
Portfolio value
{formatMoney( @@ -60,20 +55,18 @@ export const PortfolioValueSection = memo(
- {!disableSelector && ( - - )} +