Remove unneeded store connections (#7625)

feature/default_network_editable
Whymarrh Whitby 5 years ago committed by GitHub
parent 7e22244c03
commit b8e3957542
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      ui/app/components/ui/copyButton.js
  2. 3
      ui/app/pages/create-account/import-account/index.js

@ -1,6 +1,5 @@
import React, { Component } from 'react'
import PropTypes from 'prop-types'
import { connect } from 'react-redux'
const copyToClipboard = require('copy-to-clipboard')
const Tooltip = require('./tooltip')
@ -63,4 +62,4 @@ class CopyButton extends Component {
}
}
module.exports = connect()(CopyButton)
module.exports = CopyButton

@ -1,7 +1,6 @@
import React, { Component } from 'react'
const inherits = require('util').inherits
const PropTypes = require('prop-types')
const connect = require('react-redux').connect
import Select from 'react-select'
// Subviews
@ -13,7 +12,7 @@ AccountImportSubview.contextTypes = {
t: PropTypes.func,
}
module.exports = connect()(AccountImportSubview)
module.exports = AccountImportSubview
inherits(AccountImportSubview, Component)

Loading…
Cancel
Save