mirror of
https://github.com/bellingcat/ukraine-timemap.git
synced 2026-06-12 13:28:36 +03:00
Linting fixes
This commit is contained in:
@@ -298,7 +298,7 @@ class Timeline extends React.Component {
|
||||
*/
|
||||
styleDatetime (timestamp, category) {
|
||||
return [null, null]
|
||||
}
|
||||
}
|
||||
|
||||
render () {
|
||||
const { isNarrative, app } = this.props
|
||||
|
||||
@@ -98,10 +98,10 @@ const TimelineEvents = ({
|
||||
}
|
||||
|
||||
const relatedCategories = getEventCategories(event, categories)
|
||||
|
||||
|
||||
if (relatedCategories && relatedCategories.length > 0) {
|
||||
relatedCategories.forEach(cat => {
|
||||
const eventY = getY({...event, category: cat.id})
|
||||
const eventY = getY({ ...event, category: cat.id })
|
||||
|
||||
let colour = event.colour ? event.colour : getCategoryColor(cat.id)
|
||||
const styles = {
|
||||
|
||||
Reference in New Issue
Block a user