mirror of
https://github.com/bellingcat/ukraine-timemap.git
synced 2026-06-12 13:28:36 +03:00
fix console errors and warnings
This commit is contained in:
@@ -192,8 +192,9 @@ export const selectTagList = createSelector(
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
if (tags.key && tags.children) traverseNode(tags, depth)
|
||||
if (tags && tags !== undefined) {
|
||||
if (tags.key && tags.children) traverseNode(tags, depth)
|
||||
}
|
||||
return tagList;
|
||||
}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user