Skip to content

Commit

Permalink
Remove unneeded store connections (#7625)
Browse files Browse the repository at this point in the history
  • Loading branch information
whymarrh authored Dec 3, 2019
1 parent 7e22244 commit b8e3957
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions ui/app/components/ui/copyButton.js
Original file line number Diff line number Diff line change
@@ -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')
Expand Down Expand Up @@ -63,4 +62,4 @@ class CopyButton extends Component {
}
}

module.exports = connect()(CopyButton)
module.exports = CopyButton
3 changes: 1 addition & 2 deletions ui/app/pages/create-account/import-account/index.js
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -13,7 +12,7 @@ AccountImportSubview.contextTypes = {
t: PropTypes.func,
}

module.exports = connect()(AccountImportSubview)
module.exports = AccountImportSubview


inherits(AccountImportSubview, Component)
Expand Down

0 comments on commit b8e3957

Please sign in to comment.