mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-18 19:01:38 +03:00
Merge pull request #1978 from ecency/nt/notification-crash-fix
NT - Notification bug fix
This commit is contained in:
commit
e19ad18e29
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user