diff --git a/ui/app/components/ui/copyButton.js b/ui/app/components/ui/copyButton.js index d235fea04b98..14b54517b804 100644 --- a/ui/app/components/ui/copyButton.js +++ b/ui/app/components/ui/copyButton.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 diff --git a/ui/app/pages/create-account/import-account/index.js b/ui/app/pages/create-account/import-account/index.js index 5ef837715dcc..2d66c9601a19 100644 --- a/ui/app/pages/create-account/import-account/index.js +++ b/ui/app/pages/create-account/import-account/index.js @@ -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)