correct misspelled join flow intl id

This commit is contained in:
Ben Wheeler 2019-10-31 23:21:21 -04:00
parent 0fe4eaed03
commit b6fcffd6f3
2 changed files with 3 additions and 3 deletions

View file

@ -63,7 +63,7 @@ class EmailStep extends React.Component {
onCaptchaError () {
this.props.onRegistrationError(
this.props.intl.formatMessage({
id: 'registation.troubleReload'
id: 'registration.troubleReload'
})
);
}

View file

@ -151,7 +151,7 @@ describe('EmailStep test', () => {
const formikWrapper = wrapper.dive();
formikWrapper.instance().onCaptchaError();
expect(props.onRegistrationError).toHaveBeenCalledWith('registation.troubleReload');
expect(props.onRegistrationError).toHaveBeenCalledWith('registration.troubleReload');
});
test('Captcha load error calls error function', () => {
@ -167,7 +167,7 @@ describe('EmailStep test', () => {
const formikWrapper = wrapper.dive();
formikWrapper.instance().onCaptchaLoad();
expect(props.onRegistrationError).toHaveBeenCalledWith('registation.troubleReload');
expect(props.onRegistrationError).toHaveBeenCalledWith('registration.troubleReload');
});
test('validateEmail test email empty', () => {