diff options
author | Dessalines <tyhou13@gmx.com> | 2020-02-02 13:50:44 -0500 |
---|---|---|
committer | Dessalines <tyhou13@gmx.com> | 2020-02-02 13:50:44 -0500 |
commit | ac943f8951fe7da86aaa9f41ee879ab670786c86 (patch) | |
tree | c8aabdada00514135c35d2aa9be6890a95bac743 /ui/src/components/post-listings.tsx | |
parent | 23daba54b4dbc3220effaa5d55042db5398cde43 (diff) |
Finishing up interpolation rework.
Diffstat (limited to 'ui/src/components/post-listings.tsx')
-rw-r--r-- | ui/src/components/post-listings.tsx | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/ui/src/components/post-listings.tsx b/ui/src/components/post-listings.tsx index d61316b5..df0bac85 100644 --- a/ui/src/components/post-listings.tsx +++ b/ui/src/components/post-listings.tsx @@ -3,7 +3,6 @@ import { Link } from 'inferno-router'; import { Post } from '../interfaces'; import { PostListing } from './post-listing'; import { i18n } from '../i18next'; -import { T } from 'inferno-i18next'; interface PostListingsProps { posts: Array<Post>; @@ -31,12 +30,12 @@ export class PostListings extends Component<PostListingsProps, any> { )) ) : ( <> - <h5> - { i18n.t('no_posts') } - </h5> + <div>{i18n.t('no_posts')}</div> {this.props.showCommunity !== undefined && ( <div> - <Link to="/communities">{ i18n.t('subscribe_to_communities') }</Link> + <Link to="/communities"> + {i18n.t('subscribe_to_communities')} + </Link> </div> )} </> |