fix console errors and warnings

This commit is contained in:
Unknown
2018-11-29 10:43:51 +00:00
parent a82da33d1a
commit 70dbcd96e0
2 changed files with 11 additions and 11 deletions

View File

@@ -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;
}
)