mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Remove recompose (#8097)
This commit is contained in:
parent
54f0830324
commit
169ab8adc9
@ -154,7 +154,6 @@
|
|||||||
"react-transition-group": "^1.2.1",
|
"react-transition-group": "^1.2.1",
|
||||||
"react-trigger-change": "^1.0.2",
|
"react-trigger-change": "^1.0.2",
|
||||||
"readable-stream": "^2.3.3",
|
"readable-stream": "^2.3.3",
|
||||||
"recompose": "^0.25.0",
|
|
||||||
"redux": "^4.0.5",
|
"redux": "^4.0.5",
|
||||||
"redux-thunk": "^2.3.0",
|
"redux-thunk": "^2.3.0",
|
||||||
"reselect": "^3.0.1",
|
"reselect": "^3.0.1",
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import { connect } from 'react-redux'
|
import { connect } from 'react-redux'
|
||||||
import { compose } from 'recompose'
|
import { compose } from 'redux'
|
||||||
import { withRouter } from 'react-router-dom'
|
import { withRouter } from 'react-router-dom'
|
||||||
import {
|
import {
|
||||||
toggleAccountMenu,
|
toggleAccountMenu,
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import { connect } from 'react-redux'
|
import { connect } from 'react-redux'
|
||||||
import { withRouter } from 'react-router-dom'
|
import { withRouter } from 'react-router-dom'
|
||||||
import { compose } from 'recompose'
|
import { compose } from 'redux'
|
||||||
|
|
||||||
import AppHeader from './app-header.component'
|
import AppHeader from './app-header.component'
|
||||||
import * as actions from '../../../store/actions'
|
import * as actions from '../../../store/actions'
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import { connect } from 'react-redux'
|
import { connect } from 'react-redux'
|
||||||
import { compose } from 'recompose'
|
import { compose } from 'redux'
|
||||||
import DaiMigrationNotification from './dai-migration-notification.component'
|
import DaiMigrationNotification from './dai-migration-notification.component'
|
||||||
import withTokenTracker from '../../../helpers/higher-order-components/with-token-tracker'
|
import withTokenTracker from '../../../helpers/higher-order-components/with-token-tracker'
|
||||||
import { getSelectedAddress, getDaiV1Token } from '../../../selectors/selectors'
|
import { getSelectedAddress, getDaiV1Token } from '../../../selectors/selectors'
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import React, { Component } from 'react'
|
import React, { Component } from 'react'
|
||||||
import PropTypes from 'prop-types'
|
import PropTypes from 'prop-types'
|
||||||
import { compose } from 'recompose'
|
import { compose } from 'redux'
|
||||||
import { withRouter } from 'react-router-dom'
|
import { withRouter } from 'react-router-dom'
|
||||||
import { connect } from 'react-redux'
|
import { connect } from 'react-redux'
|
||||||
import * as actions from '../../../store/actions'
|
import * as actions from '../../../store/actions'
|
||||||
|
@ -2,7 +2,7 @@ import PropTypes from 'prop-types'
|
|||||||
import React, { Component } from 'react'
|
import React, { Component } from 'react'
|
||||||
import { connect } from 'react-redux'
|
import { connect } from 'react-redux'
|
||||||
import { withRouter } from 'react-router-dom'
|
import { withRouter } from 'react-router-dom'
|
||||||
import { compose } from 'recompose'
|
import { compose } from 'redux'
|
||||||
import * as actions from '../../../store/actions'
|
import * as actions from '../../../store/actions'
|
||||||
import { Dropdown, DropdownMenuItem } from './components/dropdown'
|
import { Dropdown, DropdownMenuItem } from './components/dropdown'
|
||||||
import NetworkDropdownIcon from './components/network-dropdown-icon'
|
import NetworkDropdownIcon from './components/network-dropdown-icon'
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import { connect } from 'react-redux'
|
import { connect } from 'react-redux'
|
||||||
import { compose } from 'recompose'
|
import { compose } from 'redux'
|
||||||
import ethUtil from 'ethereumjs-util'
|
import ethUtil from 'ethereumjs-util'
|
||||||
import { multiplyCurrencies } from '../../../../helpers/utils/conversion-util'
|
import { multiplyCurrencies } from '../../../../helpers/utils/conversion-util'
|
||||||
import withModalProps from '../../../../helpers/higher-order-components/with-modal-props'
|
import withModalProps from '../../../../helpers/higher-order-components/with-modal-props'
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import { connect } from 'react-redux'
|
import { connect } from 'react-redux'
|
||||||
import { compose } from 'recompose'
|
import { compose } from 'redux'
|
||||||
import withModalProps from '../../../../helpers/higher-order-components/with-modal-props'
|
import withModalProps from '../../../../helpers/higher-order-components/with-modal-props'
|
||||||
import ConfirmDeleteNetwork from './confirm-delete-network.component'
|
import ConfirmDeleteNetwork from './confirm-delete-network.component'
|
||||||
import { delRpcTarget } from '../../../../store/actions'
|
import { delRpcTarget } from '../../../../store/actions'
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import { connect } from 'react-redux'
|
import { connect } from 'react-redux'
|
||||||
import { compose } from 'recompose'
|
import { compose } from 'redux'
|
||||||
import ConfirmRemoveAccount from './confirm-remove-account.component'
|
import ConfirmRemoveAccount from './confirm-remove-account.component'
|
||||||
import withModalProps from '../../../../helpers/higher-order-components/with-modal-props'
|
import withModalProps from '../../../../helpers/higher-order-components/with-modal-props'
|
||||||
import { removeAccount } from '../../../../store/actions'
|
import { removeAccount } from '../../../../store/actions'
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import { connect } from 'react-redux'
|
import { connect } from 'react-redux'
|
||||||
import { compose } from 'recompose'
|
import { compose } from 'redux'
|
||||||
import withModalProps from '../../../../helpers/higher-order-components/with-modal-props'
|
import withModalProps from '../../../../helpers/higher-order-components/with-modal-props'
|
||||||
import ConfirmResetAccount from './confirm-reset-account.component'
|
import ConfirmResetAccount from './confirm-reset-account.component'
|
||||||
import { resetAccount } from '../../../../store/actions'
|
import { resetAccount } from '../../../../store/actions'
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import { connect } from 'react-redux'
|
import { connect } from 'react-redux'
|
||||||
import { compose } from 'recompose'
|
import { compose } from 'redux'
|
||||||
import withModalProps from '../../../../helpers/higher-order-components/with-modal-props'
|
import withModalProps from '../../../../helpers/higher-order-components/with-modal-props'
|
||||||
import DisconnectAccount from './disconnect-account.component'
|
import DisconnectAccount from './disconnect-account.component'
|
||||||
import { getCurrentAccountWithSendEtherInfo } from '../../../../selectors/selectors'
|
import { getCurrentAccountWithSendEtherInfo } from '../../../../selectors/selectors'
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import { connect } from 'react-redux'
|
import { connect } from 'react-redux'
|
||||||
import { compose } from 'recompose'
|
import { compose } from 'redux'
|
||||||
import { withRouter } from 'react-router-dom'
|
import { withRouter } from 'react-router-dom'
|
||||||
import withModalProps from '../../../../helpers/higher-order-components/with-modal-props'
|
import withModalProps from '../../../../helpers/higher-order-components/with-modal-props'
|
||||||
import DisconnectAll from './disconnect-all.component'
|
import DisconnectAll from './disconnect-all.component'
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import { connect } from 'react-redux'
|
import { connect } from 'react-redux'
|
||||||
import { compose } from 'recompose'
|
import { compose } from 'redux'
|
||||||
import withModalProps from '../../../../helpers/higher-order-components/with-modal-props'
|
import withModalProps from '../../../../helpers/higher-order-components/with-modal-props'
|
||||||
import EditApprovalPermission from './edit-approval-permission.component'
|
import EditApprovalPermission from './edit-approval-permission.component'
|
||||||
import { getSelectedIdentity } from '../../../../selectors/selectors'
|
import { getSelectedIdentity } from '../../../../selectors/selectors'
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import { connect } from 'react-redux'
|
import { connect } from 'react-redux'
|
||||||
import { compose } from 'recompose'
|
import { compose } from 'redux'
|
||||||
import MetaMetricsOptInModal from './metametrics-opt-in-modal.component'
|
import MetaMetricsOptInModal from './metametrics-opt-in-modal.component'
|
||||||
import withModalProps from '../../../../helpers/higher-order-components/with-modal-props'
|
import withModalProps from '../../../../helpers/higher-order-components/with-modal-props'
|
||||||
import { setParticipateInMetaMetrics } from '../../../../store/actions'
|
import { setParticipateInMetaMetrics } from '../../../../store/actions'
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import { connect } from 'react-redux'
|
import { connect } from 'react-redux'
|
||||||
import { compose } from 'recompose'
|
import { compose } from 'redux'
|
||||||
import RejectTransactionsModal from './reject-transactions.component'
|
import RejectTransactionsModal from './reject-transactions.component'
|
||||||
import withModalProps from '../../../../helpers/higher-order-components/with-modal-props'
|
import withModalProps from '../../../../helpers/higher-order-components/with-modal-props'
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import { connect } from 'react-redux'
|
import { connect } from 'react-redux'
|
||||||
import { compose } from 'recompose'
|
import { compose } from 'redux'
|
||||||
import { withRouter } from 'react-router-dom'
|
import { withRouter } from 'react-router-dom'
|
||||||
|
|
||||||
import * as actions from '../../../store/actions'
|
import * as actions from '../../../store/actions'
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import { connect } from 'react-redux'
|
import { connect } from 'react-redux'
|
||||||
import { withRouter } from 'react-router-dom'
|
import { withRouter } from 'react-router-dom'
|
||||||
import { compose } from 'recompose'
|
import { compose } from 'redux'
|
||||||
import TransactionListItem from './transaction-list-item.component'
|
import TransactionListItem from './transaction-list-item.component'
|
||||||
import { setSelectedToken, showModal, showSidebar, getContractMethodData } from '../../../store/actions'
|
import { setSelectedToken, showModal, showSidebar, getContractMethodData } from '../../../store/actions'
|
||||||
import { hexToDecimal } from '../../../helpers/utils/conversions.util'
|
import { hexToDecimal } from '../../../helpers/utils/conversions.util'
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import { connect } from 'react-redux'
|
import { connect } from 'react-redux'
|
||||||
import { withRouter } from 'react-router-dom'
|
import { withRouter } from 'react-router-dom'
|
||||||
import { compose } from 'recompose'
|
import { compose } from 'redux'
|
||||||
import TransactionViewBalance from './transaction-view-balance.component'
|
import TransactionViewBalance from './transaction-view-balance.component'
|
||||||
import {
|
import {
|
||||||
getSelectedToken,
|
getSelectedToken,
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import { connect } from 'react-redux'
|
import { connect } from 'react-redux'
|
||||||
import { withRouter } from 'react-router-dom'
|
import { withRouter } from 'react-router-dom'
|
||||||
import { compose } from 'recompose'
|
import { compose } from 'redux'
|
||||||
import WalletView from './wallet-view.component'
|
import WalletView from './wallet-view.component'
|
||||||
import { hideSidebar, setSelectedToken } from '../../../store/actions'
|
import { hideSidebar, setSelectedToken } from '../../../store/actions'
|
||||||
import { getSelectedAddress, getSelectedAccount } from '../../../selectors/selectors'
|
import { getSelectedAddress, getSelectedAccount } from '../../../selectors/selectors'
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import { connect } from 'react-redux'
|
import { connect } from 'react-redux'
|
||||||
import { compose } from 'recompose'
|
import { compose } from 'redux'
|
||||||
import withTokenTracker from '../../../helpers/higher-order-components/with-token-tracker'
|
import withTokenTracker from '../../../helpers/higher-order-components/with-token-tracker'
|
||||||
import TokenBalance from './token-balance.component'
|
import TokenBalance from './token-balance.component'
|
||||||
import { getSelectedAddress } from '../../../selectors/selectors'
|
import { getSelectedAddress } from '../../../selectors/selectors'
|
||||||
|
@ -2,7 +2,7 @@ import { Component } from 'react'
|
|||||||
import { connect } from 'react-redux'
|
import { connect } from 'react-redux'
|
||||||
import PropTypes from 'prop-types'
|
import PropTypes from 'prop-types'
|
||||||
import { withRouter } from 'react-router-dom'
|
import { withRouter } from 'react-router-dom'
|
||||||
import { compose } from 'recompose'
|
import { compose } from 'redux'
|
||||||
import {
|
import {
|
||||||
getCurrentNetworkId,
|
getCurrentNetworkId,
|
||||||
getSelectedAsset,
|
getSelectedAsset,
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import { connect } from 'react-redux'
|
import { connect } from 'react-redux'
|
||||||
import { compose } from 'recompose'
|
import { compose } from 'redux'
|
||||||
import ConfirmAddSuggestedToken from './confirm-add-suggested-token.component'
|
import ConfirmAddSuggestedToken from './confirm-add-suggested-token.component'
|
||||||
import { withRouter } from 'react-router-dom'
|
import { withRouter } from 'react-router-dom'
|
||||||
import { addToken, removeSuggestedTokens } from '../../store/actions'
|
import { addToken, removeSuggestedTokens } from '../../store/actions'
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import { connect } from 'react-redux'
|
import { connect } from 'react-redux'
|
||||||
import { compose } from 'recompose'
|
import { compose } from 'redux'
|
||||||
import { withRouter } from 'react-router-dom'
|
import { withRouter } from 'react-router-dom'
|
||||||
import {
|
import {
|
||||||
contractExchangeRateSelector,
|
contractExchangeRateSelector,
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import { connect } from 'react-redux'
|
import { connect } from 'react-redux'
|
||||||
import { compose } from 'recompose'
|
import { compose } from 'redux'
|
||||||
import { withRouter } from 'react-router-dom'
|
import { withRouter } from 'react-router-dom'
|
||||||
import { goHome, decryptMsg, cancelDecryptMsg, decryptMsgInline } from '../../store/actions'
|
import { goHome, decryptMsg, cancelDecryptMsg, decryptMsgInline } from '../../store/actions'
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import { connect } from 'react-redux'
|
import { connect } from 'react-redux'
|
||||||
import { compose } from 'recompose'
|
import { compose } from 'redux'
|
||||||
import { withRouter } from 'react-router-dom'
|
import { withRouter } from 'react-router-dom'
|
||||||
import { goHome, encryptionPublicKeyMsg, cancelEncryptionPublicKeyMsg } from '../../store/actions'
|
import { goHome, encryptionPublicKeyMsg, cancelEncryptionPublicKeyMsg } from '../../store/actions'
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import { connect } from 'react-redux'
|
import { connect } from 'react-redux'
|
||||||
import { compose } from 'recompose'
|
import { compose } from 'redux'
|
||||||
import { withRouter } from 'react-router-dom'
|
import { withRouter } from 'react-router-dom'
|
||||||
import { updateSend } from '../../store/actions'
|
import { updateSend } from '../../store/actions'
|
||||||
import { clearConfirmTransaction } from '../../ducks/confirm-transaction/confirm-transaction.duck'
|
import { clearConfirmTransaction } from '../../ducks/confirm-transaction/confirm-transaction.duck'
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import { connect } from 'react-redux'
|
import { connect } from 'react-redux'
|
||||||
import { compose } from 'recompose'
|
import { compose } from 'redux'
|
||||||
import { withRouter } from 'react-router-dom'
|
import { withRouter } from 'react-router-dom'
|
||||||
import ConfirmSendToken from './confirm-send-token.component'
|
import ConfirmSendToken from './confirm-send-token.component'
|
||||||
import { clearConfirmTransaction } from '../../ducks/confirm-transaction/confirm-transaction.duck'
|
import { clearConfirmTransaction } from '../../ducks/confirm-transaction/confirm-transaction.duck'
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import { connect } from 'react-redux'
|
import { connect } from 'react-redux'
|
||||||
import { compose } from 'recompose'
|
import { compose } from 'redux'
|
||||||
import { withRouter } from 'react-router-dom'
|
import { withRouter } from 'react-router-dom'
|
||||||
import ConfirmTokenTransactionBase from './confirm-token-transaction-base.component'
|
import ConfirmTokenTransactionBase from './confirm-token-transaction-base.component'
|
||||||
import {
|
import {
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import { connect } from 'react-redux'
|
import { connect } from 'react-redux'
|
||||||
import { compose } from 'recompose'
|
import { compose } from 'redux'
|
||||||
import { withRouter } from 'react-router-dom'
|
import { withRouter } from 'react-router-dom'
|
||||||
import contractMap from 'eth-contract-metadata'
|
import contractMap from 'eth-contract-metadata'
|
||||||
import ConfirmTransactionBase from './confirm-transaction-base.component'
|
import ConfirmTransactionBase from './confirm-transaction-base.component'
|
||||||
|
@ -2,7 +2,7 @@ import PropTypes from 'prop-types'
|
|||||||
import React, { Component } from 'react'
|
import React, { Component } from 'react'
|
||||||
import { connect } from 'react-redux'
|
import { connect } from 'react-redux'
|
||||||
import { withRouter } from 'react-router-dom'
|
import { withRouter } from 'react-router-dom'
|
||||||
import { compose } from 'recompose'
|
import { compose } from 'redux'
|
||||||
import * as actions from '../../store/actions'
|
import * as actions from '../../store/actions'
|
||||||
import txHelper from '../../../lib/tx-helper'
|
import txHelper from '../../../lib/tx-helper'
|
||||||
import log from 'loglevel'
|
import log from 'loglevel'
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import { connect } from 'react-redux'
|
import { connect } from 'react-redux'
|
||||||
import { compose } from 'recompose'
|
import { compose } from 'redux'
|
||||||
import { withRouter } from 'react-router-dom'
|
import { withRouter } from 'react-router-dom'
|
||||||
import {
|
import {
|
||||||
setTransactionToConfirm,
|
setTransactionToConfirm,
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
import React, { Component } from 'react'
|
import React, { Component } from 'react'
|
||||||
import PropTypes from 'prop-types'
|
import PropTypes from 'prop-types'
|
||||||
import { withRouter } from 'react-router-dom'
|
import { withRouter } from 'react-router-dom'
|
||||||
import { compose } from 'recompose'
|
import { compose } from 'redux'
|
||||||
import { connect } from 'react-redux'
|
import { connect } from 'react-redux'
|
||||||
import * as actions from '../../../store/actions'
|
import * as actions from '../../../store/actions'
|
||||||
import FileInput from 'react-simple-file-input'
|
import FileInput from 'react-simple-file-input'
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import React, { Component } from 'react'
|
import React, { Component } from 'react'
|
||||||
import { withRouter } from 'react-router-dom'
|
import { withRouter } from 'react-router-dom'
|
||||||
import { compose } from 'recompose'
|
import { compose } from 'redux'
|
||||||
import PropTypes from 'prop-types'
|
import PropTypes from 'prop-types'
|
||||||
import { connect } from 'react-redux'
|
import { connect } from 'react-redux'
|
||||||
import * as actions from '../../../store/actions'
|
import * as actions from '../../../store/actions'
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import { connect } from 'react-redux'
|
import { connect } from 'react-redux'
|
||||||
import { withRouter } from 'react-router-dom'
|
import { withRouter } from 'react-router-dom'
|
||||||
import { compose } from 'recompose'
|
import { compose } from 'redux'
|
||||||
import { setFirstTimeFlowType } from '../../../store/actions'
|
import { setFirstTimeFlowType } from '../../../store/actions'
|
||||||
import { getFirstTimeFlowTypeRoute } from '../first-time-flow.selectors'
|
import { getFirstTimeFlowTypeRoute } from '../first-time-flow.selectors'
|
||||||
import Welcome from './select-action.component'
|
import Welcome from './select-action.component'
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import { connect } from 'react-redux'
|
import { connect } from 'react-redux'
|
||||||
import { withRouter } from 'react-router-dom'
|
import { withRouter } from 'react-router-dom'
|
||||||
import { compose } from 'recompose'
|
import { compose } from 'redux'
|
||||||
import { closeWelcomeScreen } from '../../../store/actions'
|
import { closeWelcomeScreen } from '../../../store/actions'
|
||||||
import Welcome from './welcome.component'
|
import Welcome from './welcome.component'
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import Home from './home.component'
|
import Home from './home.component'
|
||||||
import { compose } from 'recompose'
|
import { compose } from 'redux'
|
||||||
import { connect } from 'react-redux'
|
import { connect } from 'react-redux'
|
||||||
import { withRouter } from 'react-router-dom'
|
import { withRouter } from 'react-router-dom'
|
||||||
import { unconfirmedTransactionsCountSelector } from '../../selectors/confirm-transaction'
|
import { unconfirmedTransactionsCountSelector } from '../../selectors/confirm-transaction'
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import Lock from './lock.component'
|
import Lock from './lock.component'
|
||||||
import { compose } from 'recompose'
|
import { compose } from 'redux'
|
||||||
import { connect } from 'react-redux'
|
import { connect } from 'react-redux'
|
||||||
import { withRouter } from 'react-router-dom'
|
import { withRouter } from 'react-router-dom'
|
||||||
import { lockMetamask } from '../../store/actions'
|
import { lockMetamask } from '../../store/actions'
|
||||||
|
@ -2,7 +2,7 @@ import React, { Component } from 'react'
|
|||||||
import PropTypes from 'prop-types'
|
import PropTypes from 'prop-types'
|
||||||
import { connect } from 'react-redux'
|
import { connect } from 'react-redux'
|
||||||
import { Route, Switch, withRouter, matchPath } from 'react-router-dom'
|
import { Route, Switch, withRouter, matchPath } from 'react-router-dom'
|
||||||
import { compose } from 'recompose'
|
import { compose } from 'redux'
|
||||||
import * as actions from '../../store/actions'
|
import * as actions from '../../store/actions'
|
||||||
import log from 'loglevel'
|
import log from 'loglevel'
|
||||||
import IdleTimer from 'react-idle-timer'
|
import IdleTimer from 'react-idle-timer'
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
import { connect } from 'react-redux'
|
import { connect } from 'react-redux'
|
||||||
import SendEther from './send.component'
|
import SendEther from './send.component'
|
||||||
import { withRouter } from 'react-router-dom'
|
import { withRouter } from 'react-router-dom'
|
||||||
import { compose } from 'recompose'
|
import { compose } from 'redux'
|
||||||
|
|
||||||
import {
|
import {
|
||||||
getAmountConversionRate,
|
getAmountConversionRate,
|
||||||
|
@ -22,7 +22,7 @@ proxyquire('../send.container.js', {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
'react-router-dom': { withRouter: () => {} },
|
'react-router-dom': { withRouter: () => {} },
|
||||||
'recompose': { compose: (_, arg2) => () => arg2() },
|
'redux': { compose: (_, arg2) => () => arg2() },
|
||||||
'../../store/actions': actionSpies,
|
'../../store/actions': actionSpies,
|
||||||
'../../ducks/send/send.duck': duckActionSpies,
|
'../../ducks/send/send.duck': duckActionSpies,
|
||||||
'./send.utils.js': {
|
'./send.utils.js': {
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import AdvancedTab from './advanced-tab.component'
|
import AdvancedTab from './advanced-tab.component'
|
||||||
import { compose } from 'recompose'
|
import { compose } from 'redux'
|
||||||
import { connect } from 'react-redux'
|
import { connect } from 'react-redux'
|
||||||
import { withRouter } from 'react-router-dom'
|
import { withRouter } from 'react-router-dom'
|
||||||
import {
|
import {
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import AddContact from './add-contact.component'
|
import AddContact from './add-contact.component'
|
||||||
import { compose } from 'recompose'
|
import { compose } from 'redux'
|
||||||
import { connect } from 'react-redux'
|
import { connect } from 'react-redux'
|
||||||
import { withRouter } from 'react-router-dom'
|
import { withRouter } from 'react-router-dom'
|
||||||
import { addToAddressBook, showQrScanner, qrCodeDetected } from '../../../../store/actions'
|
import { addToAddressBook, showQrScanner, qrCodeDetected } from '../../../../store/actions'
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import ContactListTab from './contact-list-tab.component'
|
import ContactListTab from './contact-list-tab.component'
|
||||||
import { compose } from 'recompose'
|
import { compose } from 'redux'
|
||||||
import { connect } from 'react-redux'
|
import { connect } from 'react-redux'
|
||||||
import { withRouter } from 'react-router-dom'
|
import { withRouter } from 'react-router-dom'
|
||||||
import { getAddressBook } from '../../../selectors/selectors'
|
import { getAddressBook } from '../../../selectors/selectors'
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import EditContact from './edit-contact.component'
|
import EditContact from './edit-contact.component'
|
||||||
import { compose } from 'recompose'
|
import { compose } from 'redux'
|
||||||
import { connect } from 'react-redux'
|
import { connect } from 'react-redux'
|
||||||
import { withRouter } from 'react-router-dom'
|
import { withRouter } from 'react-router-dom'
|
||||||
import { getAddressBookEntry } from '../../../../selectors/selectors'
|
import { getAddressBookEntry } from '../../../../selectors/selectors'
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import ViewContact from './my-accounts.component'
|
import ViewContact from './my-accounts.component'
|
||||||
import { compose } from 'recompose'
|
import { compose } from 'redux'
|
||||||
import { connect } from 'react-redux'
|
import { connect } from 'react-redux'
|
||||||
import { withRouter } from 'react-router-dom'
|
import { withRouter } from 'react-router-dom'
|
||||||
import { accountsWithSendEtherInfoSelector } from '../../../../selectors/selectors'
|
import { accountsWithSendEtherInfoSelector } from '../../../../selectors/selectors'
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import ViewContact from './view-contact.component'
|
import ViewContact from './view-contact.component'
|
||||||
import { compose } from 'recompose'
|
import { compose } from 'redux'
|
||||||
import { connect } from 'react-redux'
|
import { connect } from 'react-redux'
|
||||||
import { withRouter } from 'react-router-dom'
|
import { withRouter } from 'react-router-dom'
|
||||||
import { getAddressBookEntry } from '../../../../selectors/selectors'
|
import { getAddressBookEntry } from '../../../../selectors/selectors'
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import NetworksTab from './networks-tab.component'
|
import NetworksTab from './networks-tab.component'
|
||||||
import { compose } from 'recompose'
|
import { compose } from 'redux'
|
||||||
import { connect } from 'react-redux'
|
import { connect } from 'react-redux'
|
||||||
import { withRouter } from 'react-router-dom'
|
import { withRouter } from 'react-router-dom'
|
||||||
import {
|
import {
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import SecurityTab from './security-tab.component'
|
import SecurityTab from './security-tab.component'
|
||||||
import { compose } from 'recompose'
|
import { compose } from 'redux'
|
||||||
import { connect } from 'react-redux'
|
import { connect } from 'react-redux'
|
||||||
import { withRouter } from 'react-router-dom'
|
import { withRouter } from 'react-router-dom'
|
||||||
import {
|
import {
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import Settings from './settings.component'
|
import Settings from './settings.component'
|
||||||
import { compose } from 'recompose'
|
import { compose } from 'redux'
|
||||||
import { connect } from 'react-redux'
|
import { connect } from 'react-redux'
|
||||||
import { withRouter } from 'react-router-dom'
|
import { withRouter } from 'react-router-dom'
|
||||||
import { getAddressBookEntryName } from '../../selectors/selectors'
|
import { getAddressBookEntryName } from '../../selectors/selectors'
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import { connect } from 'react-redux'
|
import { connect } from 'react-redux'
|
||||||
import { withRouter } from 'react-router-dom'
|
import { withRouter } from 'react-router-dom'
|
||||||
import { compose } from 'recompose'
|
import { compose } from 'redux'
|
||||||
import { getEnvironmentType } from '../../../../app/scripts/lib/util'
|
import { getEnvironmentType } from '../../../../app/scripts/lib/util'
|
||||||
import { ENVIRONMENT_TYPE_POPUP } from '../../../../app/scripts/lib/enums'
|
import { ENVIRONMENT_TYPE_POPUP } from '../../../../app/scripts/lib/enums'
|
||||||
import { DEFAULT_ROUTE, RESTORE_VAULT_ROUTE } from '../../helpers/constants/routes'
|
import { DEFAULT_ROUTE, RESTORE_VAULT_ROUTE } from '../../helpers/constants/routes'
|
||||||
|
10
yarn.lock
10
yarn.lock
@ -23797,16 +23797,6 @@ rechoir@^0.6.2:
|
|||||||
dependencies:
|
dependencies:
|
||||||
resolve "^1.1.6"
|
resolve "^1.1.6"
|
||||||
|
|
||||||
recompose@^0.25.0:
|
|
||||||
version "0.25.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/recompose/-/recompose-0.25.1.tgz#5eb9d6cf6e25a9ffad73cbbae5658b5b55d6e728"
|
|
||||||
integrity sha512-EwFAv6UBrHbLIsIKHUZJ+BKdjTmyEsIrRlGO3R7PKu0S7hkgNznVDRvb+1upQUntURtBvxhYnTVQ3AcWOlsmWA==
|
|
||||||
dependencies:
|
|
||||||
change-emitter "^0.1.2"
|
|
||||||
fbjs "^0.8.1"
|
|
||||||
hoist-non-react-statics "^2.3.1"
|
|
||||||
symbol-observable "^1.0.4"
|
|
||||||
|
|
||||||
"recompose@^0.26.0 || ^0.27.0":
|
"recompose@^0.26.0 || ^0.27.0":
|
||||||
version "0.27.0"
|
version "0.27.0"
|
||||||
resolved "https://registry.yarnpkg.com/recompose/-/recompose-0.27.0.tgz#8230ebd651bf1159097006f79083fe224b1501cf"
|
resolved "https://registry.yarnpkg.com/recompose/-/recompose-0.27.0.tgz#8230ebd651bf1159097006f79083fe224b1501cf"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user