diff --git a/js/src/forum/components/Poll/PollTitle.tsx b/js/src/forum/components/Poll/PollTitle.tsx index 5a61ae84..b2e4d714 100644 --- a/js/src/forum/components/Poll/PollTitle.tsx +++ b/js/src/forum/components/Poll/PollTitle.tsx @@ -15,7 +15,7 @@ export default class PollTitle extends Component { pollTitleItems(): ItemList { const items = new ItemList(); - items.add('title',

{this.attrs.poll.question()}

); + items.add('title',

{this.attrs.poll.question()}

); return items; } diff --git a/js/src/forum/components/PollShowcase.tsx b/js/src/forum/components/PollShowcase.tsx index c9f27516..08b5f380 100644 --- a/js/src/forum/components/PollShowcase.tsx +++ b/js/src/forum/components/PollShowcase.tsx @@ -20,13 +20,13 @@ export default class PollShowcase extends Component -
-

{app.translator.trans('fof-polls.forum.showcase.active-polls')}

+
+

{app.translator.trans('fof-polls.forum.showcase.active-polls')}

{this.showcaseItems().toArray()} {this.showcaseItems().toArray().length === 0 && }
-
-

{app.translator.trans('fof-polls.forum.showcase.ended-polls')}

+
+

{app.translator.trans('fof-polls.forum.showcase.ended-polls')}

{this.endedItems().toArray()} {this.endedItems().toArray().length === 0 && }