Pass plain components, rather than functions returning them

This commit is contained in:
Stefan Parviainen 2017-11-14 20:09:52 +01:00
parent 788be67c75
commit df6d5cc2b4
5 changed files with 7 additions and 7 deletions

View file

@ -936,7 +936,7 @@ export default React.createClass({
'Your community hasn\'t got a Long Description, a HTML page to show to community members.<br />' +
'Click here to open settings and give it one!',
{},
{ 'br': () => <br /> },
{ 'br': <br /> },
) }
</div>;
}