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 }}>
|
<Grid2 size={{ xs: 12, md: 6 }}>
|
||||||
<Paper elevation={3} sx={{ p: 3, minHeight: "28em" }}>
|
<Paper elevation={3} sx={{ p: 3, minHeight: "28em" }}>
|
||||||
{underlying.value !== null &&
|
{underlying.value !== null &&
|
||||||
similarCalendarPriceChartData.value.length > 0 ? (
|
calendarExitPriceChartData.value.length > 0 ? (
|
||||||
<Scatter
|
<Scatter
|
||||||
data={{
|
data={{
|
||||||
datasets: [
|
datasets: [
|
||||||
|
|||||||
Reference in New Issue
Block a user