diff options
author | Anike Arni <aarni@thoughtworks.com> | 2017-02-07 19:46:45 -0200 |
---|---|---|
committer | Anike Arni <aarni@thoughtworks.com> | 2017-02-08 13:51:36 -0200 |
commit | 7f76c79319bf0817222fc88011fd870d97648963 (patch) | |
tree | 0931901230ed645e8a6d7d17081e1769392ec928 /web-ui/src/account_recovery/page.js | |
parent | a1c384cebd80e177389ef79c2de6400db986aaa6 (diff) |
[#922] Adds eslint for react and es6 files
Diffstat (limited to 'web-ui/src/account_recovery/page.js')
-rw-r--r-- | web-ui/src/account_recovery/page.js | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/web-ui/src/account_recovery/page.js b/web-ui/src/account_recovery/page.js index d1bcb464..396788e7 100644 --- a/web-ui/src/account_recovery/page.js +++ b/web-ui/src/account_recovery/page.js @@ -32,8 +32,8 @@ export const Page = ({ t }) => ( <InputField name='email' label={t('backup-account.input-label')} /> <SubmitButton buttonText={t('backup-account.button')} /> <div> - <a href="/"> - <i className="fa fa-angle-left" aria-hidden="true"></i> + <a href='/'> + <i className='fa fa-angle-left' aria-hidden='true' /> <span>{t('back-to-inbox')}</span> </a> </div> @@ -41,4 +41,8 @@ export const Page = ({ t }) => ( </div> ) +Page.propTypes = { + t: React.PropTypes.func.isRequired +} + export default translate('', { wait: true })(Page) |