fix: case where calendar exit price data is empty

main
avraham 2 months ago
parent f05831b5f1
commit 14dff05785

@ -207,7 +207,7 @@ export function HistoricalCalendarPrices() {
<Grid2 size={{ xs: 12, md: 6 }}>
<Paper elevation={3} sx={{ p: 3, minHeight: "28em" }}>
{underlying.value !== null &&
similarCalendarPriceChartData.value.length > 0 ? (
calendarExitPriceChartData.value.length > 0 ? (
<Scatter
data={{
datasets: [

Loading…
Cancel
Save