From 96cf7f596991add88a0175acbfb9e564ba159b39 Mon Sep 17 00:00:00 2001 From: crptm Date: Wed, 31 May 2017 00:36:52 +0400 Subject: [PATCH] eslint --- common/components/Footer/index.jsx | 2 +- .../components/GenerateWalletPasswordComponent.jsx | 14 +++++++------- .../GenerateWalletPasswordInputComponent.jsx | 8 +++----- .../components/LedgerTrezorWarning.jsx | 2 +- common/containers/Tabs/GenerateWallet/index.js | 10 +++++----- common/containers/Tabs/Help/index.js | 2 +- common/containers/Tabs/ViewWallet/index.js | 2 +- common/reducers/generateWallet.js | 2 +- 8 files changed, 20 insertions(+), 22 deletions(-) diff --git a/common/components/Footer/index.jsx b/common/components/Footer/index.jsx index c378c37a..ad1966d4 100644 --- a/common/components/Footer/index.jsx +++ b/common/components/Footer/index.jsx @@ -19,7 +19,7 @@ export default class Footer extends Component { diff --git a/common/containers/Tabs/GenerateWallet/components/GenerateWalletPasswordComponent.jsx b/common/containers/Tabs/GenerateWallet/components/GenerateWalletPasswordComponent.jsx index 39fe4f98..727181d7 100644 --- a/common/containers/Tabs/GenerateWallet/components/GenerateWalletPasswordComponent.jsx +++ b/common/containers/Tabs/GenerateWallet/components/GenerateWalletPasswordComponent.jsx @@ -1,9 +1,9 @@ -import React, {Component} from "react"; -import PropTypes from "prop-types"; +import React, {Component} from 'react'; +import PropTypes from 'prop-types'; -import {Field, reduxForm} from "redux-form"; -import GenerateWalletPasswordInputComponent from "./GenerateWalletPasswordInputComponent"; -import LedgerTrezorWarning from "./LedgerTrezorWarning"; +import {Field, reduxForm} from 'redux-form'; +import GenerateWalletPasswordInputComponent from './GenerateWalletPasswordInputComponent'; +import LedgerTrezorWarning from './LedgerTrezorWarning'; // VALIDATORS @@ -59,8 +59,8 @@ class GenerateWalletPasswordComponent extends Component { generateWalletFile, hasDownloadedWalletFile, generateWalletHasDownloadedFileAction, - generateWalletContinueToPaperAction, - canProceedToPaper + generateWalletContinueToPaperAction + // canProceedToPaper } = this.props; diff --git a/common/containers/Tabs/GenerateWallet/components/GenerateWalletPasswordInputComponent.jsx b/common/containers/Tabs/GenerateWallet/components/GenerateWalletPasswordInputComponent.jsx index 173abe29..6c7ca791 100644 --- a/common/containers/Tabs/GenerateWallet/components/GenerateWalletPasswordInputComponent.jsx +++ b/common/containers/Tabs/GenerateWallet/components/GenerateWalletPasswordInputComponent.jsx @@ -1,5 +1,5 @@ -import React, {Component} from "react"; -import PropTypes from "prop-types"; +import React, {Component} from 'react'; +import PropTypes from 'prop-types'; export default class GenerateWalletPasswordInputComponent extends Component { @@ -22,7 +22,7 @@ export default class GenerateWalletPasswordInputComponent extends Component {
@@ -46,5 +46,3 @@ export default class GenerateWalletPasswordInputComponent extends Component { } } - - diff --git a/common/containers/Tabs/GenerateWallet/components/LedgerTrezorWarning.jsx b/common/containers/Tabs/GenerateWallet/components/LedgerTrezorWarning.jsx index 1f9c5f0b..9b714987 100644 --- a/common/containers/Tabs/GenerateWallet/components/LedgerTrezorWarning.jsx +++ b/common/containers/Tabs/GenerateWallet/components/LedgerTrezorWarning.jsx @@ -1,4 +1,4 @@ -import React from "react"; +import React from 'react'; const LedgerTrezorWarning = () => (
diff --git a/common/containers/Tabs/GenerateWallet/index.js b/common/containers/Tabs/GenerateWallet/index.js index 1ffa2a24..aa77f776 100644 --- a/common/containers/Tabs/GenerateWallet/index.js +++ b/common/containers/Tabs/GenerateWallet/index.js @@ -1,13 +1,13 @@ -import GenerateWalletPasswordComponent from "./components/GenerateWalletPasswordComponent"; -import React, {Component} from "react"; -import {connect} from "react-redux"; +import GenerateWalletPasswordComponent from './components/GenerateWalletPasswordComponent'; +import React, {Component} from 'react'; +import {connect} from 'react-redux'; import { GENERATE_WALLET_FILE_ACTION, GENERATE_WALLET_HAS_DOWNLOADED_FILE_ACTION, SHOW_GENERATE_WALLET_PASSWORD_ACTION, GENERATE_WALLET_CONTINUE_TO_PAPER_ACTION -} from "actions/generateWallet"; -import PropTypes from "prop-types"; +} from 'actions/generateWallet'; +import PropTypes from 'prop-types'; class GenerateWallet extends Component { constructor(props) { diff --git a/common/containers/Tabs/Help/index.js b/common/containers/Tabs/Help/index.js index 6da85cc0..29bb7e5d 100644 --- a/common/containers/Tabs/Help/index.js +++ b/common/containers/Tabs/Help/index.js @@ -1,4 +1,4 @@ -import React from "react"; +import React from 'react'; const Help = () => (
diff --git a/common/containers/Tabs/ViewWallet/index.js b/common/containers/Tabs/ViewWallet/index.js index 5dac5213..140c010d 100644 --- a/common/containers/Tabs/ViewWallet/index.js +++ b/common/containers/Tabs/ViewWallet/index.js @@ -1,4 +1,4 @@ -import React, {Component} from "react"; +import React, {Component} from 'react'; export default class ViewWallet extends Component { constructor(props) { diff --git a/common/reducers/generateWallet.js b/common/reducers/generateWallet.js index f8566074..a1d9c492 100644 --- a/common/reducers/generateWallet.js +++ b/common/reducers/generateWallet.js @@ -4,7 +4,7 @@ import { GENERATE_WALLET_HAS_DOWNLOADED_FILE, GENERATE_WALLET_CONTINUE_TO_PAPER -} from "actions/generateWallet"; +} from 'actions/generateWallet'; const initialState = {