Remove unneeded redux action imports.
This commit is contained in:
parent
30c51b9f72
commit
fa8d2e0907
|
@ -1,7 +1,6 @@
|
|||
import React, {Component} from "react";
|
||||
import {connect} from "react-redux";
|
||||
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 PropTypes from "prop-types";
|
||||
|
||||
|
@ -11,7 +10,6 @@ class Tabs extends Component {
|
|||
}
|
||||
|
||||
static propTypes = {
|
||||
statistics: PropTypes.array,
|
||||
generateWalletPassword: PropTypes.object,
|
||||
showPassword: PropTypes.bool,
|
||||
showGenerateWalletPasswordAction: PropTypes.func,
|
||||
|
@ -19,10 +17,6 @@ class Tabs extends Component {
|
|||
generateWalletFile: PropTypes.bool
|
||||
}
|
||||
|
||||
componentDidMount() {
|
||||
// this.props.getStatistics()
|
||||
}
|
||||
|
||||
render() {
|
||||
|
||||
let {
|
||||
|
@ -49,7 +43,6 @@ class Tabs extends Component {
|
|||
|
||||
function mapStateToProps(state) {
|
||||
return {
|
||||
statistics: state.dashboard.statistics,
|
||||
generateWalletPassword: state.form.generateWalletPassword,
|
||||
generateWalletFile: state.generateWallet.generateWalletFile,
|
||||
showPassword: state.generateWallet.showPassword
|
||||
|
|
Loading…
Reference in New Issue