Don't show no portfolio history label

This commit is contained in:
James Grugett 2022-07-14 23:57:25 -05:00
parent 471e55665d
commit b7b6e10968

View File

@ -16,7 +16,7 @@ export const PortfolioValueSection = memo(
const [portfolioPeriod, setPortfolioPeriod] = useState<Period>('allTime') const [portfolioPeriod, setPortfolioPeriod] = useState<Period>('allTime')
if (portfolioHistory.length === 0 || !lastPortfolioMetrics) { if (portfolioHistory.length === 0 || !lastPortfolioMetrics) {
return <div> No portfolio history data yet </div> return <></>
} }
return ( return (