fix: case where calendar exit price data is empty
This commit is contained in:
@@ -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: [
|
||||
|
||||
Reference in New Issue
Block a user