Skip to content

Commit 893fb58

Browse files
CODE.IOCODE.IO
authored andcommitted
determine data type from GraphsContainer
1 parent 1725b46 commit 893fb58

File tree

3 files changed

+162
-152
lines changed

3 files changed

+162
-152
lines changed

app/containers/GraphsContainer.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,8 @@ const GraphsContainer: React.FC = React.memo(props => {
156156
};
157157

158158
const HealthAndEventButtons: JSX.Element[] = getHealthAndEventComponents();
159-
159+
console.log({GraphsContainer: selectedMetrics})
160+
console.log({GraphsContainer: chart});
160161
return (
161162
<>
162163
<nav id="navigationBar">

app/containers/HealthContainer.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ const HealthContainer: React.FC<HealthContainerProps> = React.memo(props => {
5151
const metric: string = Object.keys(serviceMetric)[0];
5252
const valueList = Object.values(serviceMetric)[0];
5353
const newTimeList: any = getTime(timelist, serviceName, metric, categoryName);
54-
// console.log('valueList is', valueList); -> 50 values in an array
55-
// console.log('newTimeList array is:', newTimeList); -> 50 values in an array
54+
// console.log('valueList is', valueList); //-> 50 values in an array
55+
// console.log('newTimeList array is:', newTimeList); //-> 50 values in an array
5656
if (selectedMetricsList.includes(metric)) {
5757
const re = /_/g;
5858
const newHealthChart = (

0 commit comments

Comments
 (0)