I dont know why javascript

This commit is contained in:
Gabe Kangas 2020-10-29 18:12:26 -07:00
parent 1f4169c45a
commit 4acc58baf0

View File

@ -41,7 +41,7 @@ export default function Chart({ data, color, unit, dataCollections }: ChartProps
};
if (dataCollections) {
var ticks = dataCollections?[0].data.map(function (collection) {
var ticks = dataCollections[0].data?.map(function (collection) {
return collection?.time;
})
} else {