From a71a815861312e4c57a19c0f47b31761eb8cd214 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ey=C3=BE=C3=B3r=20Magn=C3=BAsson?= Date: Mon, 5 Aug 2019 11:58:36 +0200 Subject: [PATCH] chore(dashboard): fix d3 type error --- dashboard/src/components/graph/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dashboard/src/components/graph/index.tsx b/dashboard/src/components/graph/index.tsx index f307695ce0..5083882f00 100644 --- a/dashboard/src/components/graph/index.tsx +++ b/dashboard/src/components/graph/index.tsx @@ -135,7 +135,7 @@ function drawChart( const svgGroup = svg.append("g") // Set up zoom support - const zoom = d3.zoom().on("zoom", () => { + const zoom = d3.zoom().on("zoom", () => { svgGroup.attr("transform", d3.event.transform) }) svg.call(zoom)