From adb5d6f959cef681e5e2bbae5e9e73aaca1cce9e Mon Sep 17 00:00:00 2001 From: Lachlan Kermode Date: Wed, 21 Oct 2020 17:53:56 +0300 Subject: [PATCH] lint --- src/components/Timeline.jsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/components/Timeline.jsx b/src/components/Timeline.jsx index f7bca34..3e55d27 100644 --- a/src/components/Timeline.jsx +++ b/src/components/Timeline.jsx @@ -268,13 +268,11 @@ class Timeline extends React.Component { } getY (event) { - const { features, domain } = this.props const { USE_CATEGORIES, GRAPH_NONLOCATED } = features const { categories } = domain const categoriesExist = USE_CATEGORIES && categories && categories.length > 0 - if (!categoriesExist) { return this.state.dims.trackHeight / 2 }