I dont know why javascript
This commit is contained in:
parent
1f4169c45a
commit
4acc58baf0
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user