From 9b277f29b94ba4a3c1cf1f13661b6e8195f091b6 Mon Sep 17 00:00:00 2001 From: ivaosthu Date: Sun, 13 Nov 2016 11:51:30 +0100 Subject: [PATCH] fix some warning --- frontend/src/component/feature/feature-component.jsx | 8 ++++++-- frontend/src/component/metrics/metrics-component.js | 2 +- frontend/src/component/nav.jsx | 2 +- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/frontend/src/component/feature/feature-component.jsx b/frontend/src/component/feature/feature-component.jsx index 84920fcad5..599c15cafe 100644 --- a/frontend/src/component/feature/feature-component.jsx +++ b/frontend/src/component/feature/feature-component.jsx @@ -28,8 +28,12 @@ const Feature = ({ ]; const leftActions = [ - {metricsLastHour.yes} / {metricsLastHour.no}, - {metricsLastMinute.yes} / {metricsLastMinute.no}, + + {metricsLastHour.yes} / {metricsLastHour.no} + , + + {metricsLastMinute.yes} / {metricsLastMinute.no} + , onFeatureClick(feature)} checked={enabled} />, ]; diff --git a/frontend/src/component/metrics/metrics-component.js b/frontend/src/component/metrics/metrics-component.js index c8369d9a0c..5ce58eabb8 100644 --- a/frontend/src/component/metrics/metrics-component.js +++ b/frontend/src/component/metrics/metrics-component.js @@ -13,7 +13,7 @@ class Metrics extends Component { return ( - Total of {globalCount} toggles } /> + {clientList.map(({ name, count, ping, appName }, i) => - +

A product by FINN.no