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" /> <FormattedMessage id="registration.cantCreateAccount" />
</p> </p>
{this.props.errorMsg && ( {this.props.errorMsg && (
<p className="join-flow-instructions"> <p className="join-flow-instructions" id="registration-error-msg">
<FormattedMessage id={this.props.errorMsg} /> {this.props.errorMsg}
</p> </p>
)} )}
{this.props.canTryAgain ? ( {this.props.canTryAgain ? (