Remove unneeded redux action imports.

This commit is contained in:
Daniel Ternyak 2017-04-24 19:01:21 -05:00
parent 30c51b9f72
commit fa8d2e0907
1 changed files with 0 additions and 7 deletions

View File

@ -1,7 +1,6 @@
import React, {Component} from "react"; import React, {Component} from "react";
import {connect} from "react-redux"; import {connect} from "react-redux";
import GenerateWallet from "./GenerateWallet/components"; import GenerateWallet from "./GenerateWallet/components";
import {GET_STATISTICS} from "actions/dashboard";
import {SHOW_GENERATE_WALLET_PASSWORD_ACTION, GENERATE_WALLET_FILE_ACTION} from "actions/generateWallet"; import {SHOW_GENERATE_WALLET_PASSWORD_ACTION, GENERATE_WALLET_FILE_ACTION} from "actions/generateWallet";
import PropTypes from "prop-types"; import PropTypes from "prop-types";
@ -11,7 +10,6 @@ class Tabs extends Component {
} }
static propTypes = { static propTypes = {
statistics: PropTypes.array,
generateWalletPassword: PropTypes.object, generateWalletPassword: PropTypes.object,
showPassword: PropTypes.bool, showPassword: PropTypes.bool,
showGenerateWalletPasswordAction: PropTypes.func, showGenerateWalletPasswordAction: PropTypes.func,
@ -19,10 +17,6 @@ class Tabs extends Component {
generateWalletFile: PropTypes.bool generateWalletFile: PropTypes.bool
} }
componentDidMount() {
// this.props.getStatistics()
}
render() { render() {
let { let {
@ -49,7 +43,6 @@ class Tabs extends Component {
function mapStateToProps(state) { function mapStateToProps(state) {
return { return {
statistics: state.dashboard.statistics,
generateWalletPassword: state.form.generateWalletPassword, generateWalletPassword: state.form.generateWalletPassword,
generateWalletFile: state.generateWallet.generateWalletFile, generateWalletFile: state.generateWallet.generateWalletFile,
showPassword: state.generateWallet.showPassword showPassword: state.generateWallet.showPassword