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

@ -374,7 +374,7 @@ export const MsisdnAuthEntry = React.createClass({
return (
<div>
<p>{ _t("A text message has been sent to %(msisdn)s",
{ msisdn: () => <i>this._msisdn</i> },
{ msisdn: <i>this._msisdn</i> },
) }
</p>
<p>{ _t("Please enter the code it contains:") }</p>