From d8ade045a17be8de98ea2a501dbdb7ba166de094 Mon Sep 17 00:00:00 2001 From: Sriram Viswanathan Date: Tue, 4 Apr 2017 18:36:14 -0300 Subject: [#938] Fixes lint errors with @anikarni --- .../backup_account_step/backup_account_step.js | 4 ++-- .../backup_account_step/backup_account_step.spec.js | 2 +- web-ui/src/account_recovery/page.js | 16 ++++++++++++---- 3 files changed, 15 insertions(+), 7 deletions(-) (limited to 'web-ui') diff --git a/web-ui/src/account_recovery/backup_account_step/backup_account_step.js b/web-ui/src/account_recovery/backup_account_step/backup_account_step.js index f2498a8a..e0c31d88 100644 --- a/web-ui/src/account_recovery/backup_account_step/backup_account_step.js +++ b/web-ui/src/account_recovery/backup_account_step/backup_account_step.js @@ -14,8 +14,8 @@ * You should have received a copy of the GNU Affero General Public License * along with Pixelated. If not, see . */ -import React from "react"; -import {translate} from "react-i18next"; +import React from 'react'; +import { translate } from 'react-i18next'; import SubmitButton from 'src/common/submit_button/submit_button'; export const BackupAccountStep = ({ t }) => ( diff --git a/web-ui/src/account_recovery/backup_account_step/backup_account_step.spec.js b/web-ui/src/account_recovery/backup_account_step/backup_account_step.spec.js index 561079c9..1d08670d 100644 --- a/web-ui/src/account_recovery/backup_account_step/backup_account_step.spec.js +++ b/web-ui/src/account_recovery/backup_account_step/backup_account_step.spec.js @@ -1,8 +1,8 @@ import { shallow } from 'enzyme'; import expect from 'expect'; import React from 'react'; -import { BackupAccountStep } from './backup_account_step'; import SubmitButton from 'src/common/submit_button/submit_button'; +import { BackupAccountStep } from './backup_account_step'; describe('BackupAccountStep', () => { let backupAccountStep; diff --git a/web-ui/src/account_recovery/page.js b/web-ui/src/account_recovery/page.js index 89441d26..94927a16 100644 --- a/web-ui/src/account_recovery/page.js +++ b/web-ui/src/account_recovery/page.js @@ -53,10 +53,18 @@ export class Page extends React.Component { steps = () => ({ 0: , - 1: (), - 2: , + 1: + (), + 2: + (), 3: }) -- cgit v1.2.3