feat: show number of tweets in thread list

This commit is contained in:
overflowerror 2021-08-21 16:10:22 +02:00
parent 847467e676
commit 5d3f35234d

View file

@ -26,7 +26,7 @@ const ThreadList: FunctionComponent<ThreadListProps> = ({threads}) => {
<ListItem key={thread.id}>
<ListItemAvatar>
<Avatar>
{thread.id}
{thread.tweets.length}
</Avatar>
</ListItemAvatar>
<ListItemText