diff options
Diffstat (limited to 'web-ui/src/account_recovery')
-rw-r--r-- | web-ui/src/account_recovery/account_recovery.js | 18 | ||||
-rw-r--r-- | web-ui/src/account_recovery/page.js | 16 |
2 files changed, 17 insertions, 17 deletions
diff --git a/web-ui/src/account_recovery/account_recovery.js b/web-ui/src/account_recovery/account_recovery.js index eac14bf7..d4e0f4e8 100644 --- a/web-ui/src/account_recovery/account_recovery.js +++ b/web-ui/src/account_recovery/account_recovery.js @@ -15,21 +15,21 @@ * along with Pixelated. If not, see <http://www.gnu.org/licenses/>. */ -import React from 'react' -import { render } from 'react-dom' -import a11y from 'react-a11y' -import { I18nextProvider } from 'react-i18next' +import React from 'react'; +import { render } from 'react-dom'; +import a11y from 'react-a11y'; +import { I18nextProvider } from 'react-i18next'; -import 'font-awesome/scss/font-awesome.scss' +import 'font-awesome/scss/font-awesome.scss'; -import PageWrapper from './page' -import i18n from '../i18n' +import PageWrapper from './page'; +import i18n from '../i18n'; -if (process.env.NODE_ENV === 'development') a11y(React) +if (process.env.NODE_ENV === 'development') a11y(React); render( <I18nextProvider i18n={i18n}> <PageWrapper /> </I18nextProvider>, document.getElementById('root') -) +); diff --git a/web-ui/src/account_recovery/page.js b/web-ui/src/account_recovery/page.js index 396788e7..ac01529d 100644 --- a/web-ui/src/account_recovery/page.js +++ b/web-ui/src/account_recovery/page.js @@ -15,12 +15,12 @@ * along with Pixelated. If not, see <http://www.gnu.org/licenses/>. */ -import React from 'react' -import { translate } from 'react-i18next' -import SubmitButton from 'src/common/submit_button/submit_button' -import InputField from 'src/common/input_field/input_field' +import React from 'react'; +import { translate } from 'react-i18next'; +import SubmitButton from 'src/common/submit_button/submit_button'; +import InputField from 'src/common/input_field/input_field'; -import './page.scss' +import './page.scss'; export const Page = ({ t }) => ( <div className='container'> @@ -39,10 +39,10 @@ export const Page = ({ t }) => ( </div> </form> </div> -) +); Page.propTypes = { t: React.PropTypes.func.isRequired -} +}; -export default translate('', { wait: true })(Page) +export default translate('', { wait: true })(Page); |