diff options
author | Anike Arni <aarni@thoughtworks.com> | 2017-02-08 11:11:38 -0200 |
---|---|---|
committer | Anike Arni <aarni@thoughtworks.com> | 2017-02-08 13:51:37 -0200 |
commit | 94fc7554995e4b6fcd95e74d082ed411239ea8e9 (patch) | |
tree | 88810c4a44b6c097510b9e29e92b947f07ef9606 /web-ui/src/account_recovery | |
parent | 16190197f72ea242ae239dc2741e2887c7008dfa (diff) |
[#922] Add semincolon to lint and fix js code
with @tayanefernandes
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); |