Skip to content

Commit

Permalink
chore(dashboard): fix d3 type error
Browse files Browse the repository at this point in the history
eysi09 committed Aug 7, 2019
1 parent 70f176e commit a71a815
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dashboard/src/components/graph/index.tsx
Original file line number Diff line number Diff line change
@@ -135,7 +135,7 @@ function drawChart(
const svgGroup = svg.append("g")

// Set up zoom support
const zoom = d3.zoom<SVGSVGElement, {}>().on("zoom", () => {
const zoom = d3.zoom<SVGSVGElement, any>().on("zoom", () => {
svgGroup.attr("transform", d3.event.transform)
})
svg.call(zoom)

0 comments on commit a71a815

Please sign in to comment.