Commit b0390f36 authored by Paul Kaplan's avatar Paul Kaplan

Fix lint and missing components

parent 0353135c
......@@ -15,6 +15,8 @@ const Slide = require('../../components/slide/slide.jsx');
const StepNavigation = require('../../components/stepnavigation/stepnavigation.jsx');
const Tooltip = require('../../components/tooltip/tooltip.jsx');
const {DEFAULT_COUNTRY, NextStepButton} = require('./steps.jsx');
require('./steps.scss');
/*
......@@ -28,7 +30,7 @@ class PhoneNumberStep extends React.Component {
'handleValidSubmit'
]);
}
handleValidSubmit(formData, reset, invalidate) {
handleValidSubmit (formData, reset, invalidate) {
if (!formData.phone || formData.phone.national_number === '+') {
return invalidate({
phone: this.props.intl.formatMessage({id: 'form.validationRequired'})
......@@ -36,7 +38,7 @@ class PhoneNumberStep extends React.Component {
}
return this.props.onNextStep(formData);
}
render() {
render () {
return (
<Slide className="registration-step phone-step">
<h2>
......
......@@ -1578,6 +1578,8 @@ RegistrationError.propTypes = {
const IntlRegistrationError = injectIntl(RegistrationError);
module.exports.DEFAULT_COUNTRY = DEFAULT_COUNTRY;
module.exports.NextStepButton = NextStepButton;
module.exports.UsernameStep = IntlUsernameStep;
module.exports.ChoosePasswordStep = IntlChoosePasswordStep;
module.exports.DemographicsStep = IntlDemographicsStep;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment