Linting fixes

This commit is contained in:
efarooqui
2020-10-19 09:05:54 -07:00
parent 2cff35c3f2
commit 6927ecc3ce
5 changed files with 5 additions and 6 deletions

View File

@@ -298,7 +298,7 @@ class Timeline extends React.Component {
*/
styleDatetime (timestamp, category) {
return [null, null]
}
}
render () {
const { isNarrative, app } = this.props

View File

@@ -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 = {