improve insertion of reindex messages -- prevent empty string lines and add key prop to every new line
This commit is contained in:
1 parent
46aeda73d8
commit
3c32356227
5 files changed
+115
-86
No files matched your search
@@ -54,9 +54,8 @@ class TagView extends React.Component<props, TagViewState> {
|
||||
<div className={videocontainerstyle.maincontent}>
|
||||
{this.state.loadedtags ?
|
||||
this.state.loadedtags.map((m) => (
|
||||
<Link to={'/categories/' + m.tag_id}><TagPreview
|
||||
key={m.tag_id}
|
||||
name={m.tag_name}/></Link>
|
||||
<Link to={'/categories/' + m.tag_id} key={m.tag_id}>
|
||||
<TagPreview name={m.tag_name}/></Link>
|
||||
)) :
|
||||
'loading'}
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user