diff --git a/src/utils/alerts.js b/src/utils/alerts.js index 1a88b1defd..8bfda5bd66 100644 --- a/src/utils/alerts.js +++ b/src/utils/alerts.js @@ -1,4 +1,4 @@ -import { store } from '..' +import { store } from '../redux/store' import { clearGlobalAlert, clearLocalAlert } from '../actions/status' export const showAlert = ({data, onlyError, onlySuccess, console = true, localAlert, messageCodeHeader, success} = {}) => ({ diff --git a/src/utils/twoFactor.js b/src/utils/twoFactor.js index 77204fe27d..3d6a95813b 100644 --- a/src/utils/twoFactor.js +++ b/src/utils/twoFactor.js @@ -1,5 +1,5 @@ import * as nearApiJs from 'near-api-js' -import { store } from '..' +import { store } from '../redux/store' import { promptTwoFactor, refreshAccount } from '../actions/account' import { MULTISIG_MIN_AMOUNT, ACCOUNT_HELPER_URL } from './wallet' import { utils } from 'near-api-js' diff --git a/src/utils/wallet.js b/src/utils/wallet.js index aa34df96e8..81e56973ab 100644 --- a/src/utils/wallet.js +++ b/src/utils/wallet.js @@ -10,7 +10,7 @@ import { generateSeedPhrase } from 'near-seed-phrase'; import { WalletError } from './walletError' import { setAccountConfirmed, getAccountConfirmed } from './localStorage' -import { store } from '..' +import { store } from '../redux/store' import { setSignTransactionStatus, setLedgerTxSigned,