Fixed linting issues

This commit is contained in:
efarooqui
2020-09-14 08:12:57 -07:00
parent 5b2fd22405
commit 8442ca7bb4
5 changed files with 6 additions and 6 deletions

View File

@@ -86,7 +86,7 @@ export const selectNarratives = createSelector(
events.forEach(evt => {
evt.associations.forEach(association => {
const foundNarrative = narrativesMeta.find(narr => narr.id === association)
if (!!foundNarrative) {
if (foundNarrative) {
const { id: narrId } = foundNarrative
// initialise
if (!narratives[narrId]) { narratives[narrId] = narrativeSkeleton(narrId) }
@@ -104,7 +104,7 @@ export const selectNarratives = createSelector(
const existingAssociatedNarrative = narrativesMeta.find(n => n.id === key)
if (!!existingAssociatedNarrative) {
if (existingAssociatedNarrative) {
narratives[key] = {
...existingAssociatedNarrative,
...narratives[key]