mirror of
https://github.com/bellingcat/ukraine-timemap.git
synced 2026-06-12 13:28:36 +03:00
lint
This commit is contained in:
@@ -28,9 +28,9 @@ class TimelineCategories extends React.Component {
|
||||
const { features, dims } = this.props
|
||||
const { category } = cat
|
||||
const strokeWidth = 1 // dims.trackHeight / (this.props.categories.length + 1)
|
||||
if (features.GRAPH_NONLOCATED
|
||||
&& features.GRAPH_NONLOCATED.categories
|
||||
&& features.GRAPH_NONLOCATED.categories.includes(category)) {
|
||||
if (features.GRAPH_NONLOCATED &&
|
||||
features.GRAPH_NONLOCATED.categories &&
|
||||
features.GRAPH_NONLOCATED.categories.includes(category)) {
|
||||
return null
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user