Don't show portfolio no history message

This commit is contained in:
James Grugett 2022-07-14 23:56:30 -05:00
parent 590c63e911
commit 64c83c4ef0

View File

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