added default and optional flex direction

This commit is contained in:
Kim, Jimin 2021-08-03 14:18:28 +09:00
parent f731826368
commit a110179f8e
2 changed files with 13 additions and 6 deletions

View file

@ -70,7 +70,7 @@ export default class PostCard extends React.Component<PostCardProps> {
</StyledLink>
</StyledTitle>
<small>
<TagList>
<TagList direction="left">
{this.props.postData.tags ? (
this.props.postData.tags.map((tag) => {
return (