From 73b4d817e4fde2138040eff02f71c821e7c3162b Mon Sep 17 00:00:00 2001 From: Peter Holmberg Date: Thu, 21 Feb 2019 16:07:07 +0100 Subject: [PATCH] prettier fix --- .../grafana-ui/src/components/VizRepeater/VizRepeater.tsx | 4 ++-- .../app/features/dashboard/dashgrid/PanelPluginNotFound.tsx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/grafana-ui/src/components/VizRepeater/VizRepeater.tsx b/packages/grafana-ui/src/components/VizRepeater/VizRepeater.tsx index 0175065e5a0..bb11205b547 100644 --- a/packages/grafana-ui/src/components/VizRepeater/VizRepeater.tsx +++ b/packages/grafana-ui/src/components/VizRepeater/VizRepeater.tsx @@ -19,8 +19,8 @@ export class VizRepeater extends PureComponent { render() { const { children, orientation, height, timeSeries, width } = this.props; - const vizContainerWidth = 1 / timeSeries.length * 100; - const vizContainerHeight = 1 / timeSeries.length * 100; + const vizContainerWidth = (1 / timeSeries.length) * 100; + const vizContainerHeight = (1 / timeSeries.length) * 100; const repeatingVizWidth = Math.floor(width / timeSeries.length) - 10; // make Gauge slightly smaller than panel. const repeatingVizHeight = Math.floor(height / timeSeries.length) - 10; diff --git a/public/app/features/dashboard/dashgrid/PanelPluginNotFound.tsx b/public/app/features/dashboard/dashgrid/PanelPluginNotFound.tsx index e94235648af..fa16be55e75 100644 --- a/public/app/features/dashboard/dashgrid/PanelPluginNotFound.tsx +++ b/public/app/features/dashboard/dashgrid/PanelPluginNotFound.tsx @@ -28,7 +28,7 @@ class PanelPluginNotFound extends PureComponent { return (
- +
); }