show errorMsg content, not formatted message with errMsg as id

This commit is contained in:
Ben Wheeler 2019-10-23 10:16:41 -04:00
parent 2a318af246
commit d265ad3d44

View file

@ -38,8 +38,8 @@ class RegistrationErrorStep extends React.Component {
<FormattedMessage id="registration.cantCreateAccount" />
</p>
{this.props.errorMsg && (
<p className="join-flow-instructions">
<FormattedMessage id={this.props.errorMsg} />
<p className="join-flow-instructions" id="registration-error-msg">
{this.props.errorMsg}
</p>
)}
{this.props.canTryAgain ? (