Skip to content

Commit

Permalink
Change imports for selectAccountId, selectBalance selectors (#1966)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcinbodnar committed Oct 1, 2021
1 parent 37d19d9 commit 6297622
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React, { useState, useEffect } from 'react';
import { useSelector } from 'react-redux';

import { selectAccountId } from '../../../redux/reducers/account';
import { selectAccountId } from '../../../redux/slices/account';
import { wallet } from '../../../utils/wallet';
import MobileSharing from './MobileSharing';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Translate } from 'react-localize-redux';
import { useDispatch, useSelector } from 'react-redux';
import styled from 'styled-components';

import { selectAccountId } from '../../redux/reducers/account';
import { selectAccountId } from '../../redux/slices/account';
import { selectOneTransactionByIdentity, selectTransactionsByAccountId, selectTransactionsLoading } from '../../redux/slices/transactions';
import { actions as transactionsActions } from '../../redux/slices/transactions';
import classNames from '../../utils/classNames';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from 'react';
import { Translate } from 'react-localize-redux';
import { useSelector, useDispatch } from 'react-redux';

import { selectAccountId } from '../../redux/reducers/account';
import { selectAccountId } from '../../redux/slices/account';
import {
selectHasFetchedAllTokensForAccountForContract,
selectLoadingTokensForAccountForContract,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import styled from 'styled-components';
import GiftBoxLineIcon from '../../images/gift-box-line.svg';
import GiftBoxIcon from '../../images/gift-box.svg';
import StarsIcon from '../../images/star.svg';
import { selectAccountId } from '../../redux/reducers/account';
import { selectAccountId } from '../../redux/slices/account';
import { getReleaseNotesClosed, setReleaseNotesClosed } from '../../utils/localStorage';
import { RELEASE_NOTES_MODAL_VERSION } from '../../utils/wallet';
import FormButton from '../common/FormButton';
Expand Down
2 changes: 1 addition & 1 deletion packages/frontend/src/components/wallet/Wallet.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import styled from 'styled-components';

import { useFungibleTokensIncludingNEAR } from '../../hooks/fungibleTokensIncludingNEAR';
import { Mixpanel } from "../../mixpanel/index";
import { selectAccountId, selectBalance } from '../../redux/reducers/account';
import { selectAccountId, selectBalance } from '../../redux/slices/account';
import { selectCreateFromImplicitSuccess, actions as createFromImplicitActions } from '../../redux/slices/createFromImplicit';
import { selectLinkdropAmount, actions as linkdropActions } from '../../redux/slices/linkdrop';
import { selectTokensWithMetadataForAccountId, actions as nftActions } from '../../redux/slices/nft';
Expand Down
2 changes: 1 addition & 1 deletion packages/frontend/src/hooks/fungibleTokensIncludingNEAR.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { useEffect, useState } from 'react';
import { useSelector } from 'react-redux';

import { selectAccountId, selectBalance } from '../redux/reducers/account';
import { selectAccountId, selectBalance } from '../redux/slices/account';
import { selectNearTokenFiatValueUSD } from '../redux/slices/tokenFiatValues';
import { selectTokensWithMetadataForAccountId } from '../redux/slices/tokens';

Expand Down

0 comments on commit 6297622

Please sign in to comment.