fix loglist bug

This commit is contained in:
Zadat Olayinka 2021-07-09 16:36:13 +01:00
parent f31e9545a8
commit 073a4347af

View File

@ -35,14 +35,17 @@ class LogList extends Component {
};
displayTags = tags => {
return tags.map(tag => {
return (
<span className="tag" key={tag}>
{' '}
{tag}{' '}
</span>
);
});
return (
tags &&
tags.map(tag => {
return (
<span className="tag" key={tag}>
{' '}
{tag}{' '}
</span>
);
})
);
};
openModalFunc = content => {