diff --git a/src/components/postView/view/postDisplayView.js b/src/components/postView/view/postDisplayView.js index bd6b5e82b..69eaf38e6 100644 --- a/src/components/postView/view/postDisplayView.js +++ b/src/components/postView/view/postDisplayView.js @@ -61,7 +61,7 @@ const PostDisplayView = ({ useEffect(() => { if (post) { - const _tags = post.json_metadata ? post.json_metadata.tags : []; + const _tags = get(post.json_metadata, 'tags', []); if (post.category && _tags[0] !== post.category) { _tags.splice(0, 0, post.category); }