fix: list tags key warning (#1056)

This commit is contained in:
Aman Harwara
2022-05-31 17:59:50 +05:30
committed by GitHub
parent cab27656ba
commit ef7166c3d2
3 changed files with 10 additions and 5 deletions

View File

@@ -22,7 +22,7 @@ const ContentListItem: FunctionComponent<AbstractListItemProps> = (props) => {
return []
}
return tags.map((tag) => tag.title).sort()
return tags
}
switch (props.item.content_type) {