Commit feed63b1 authored by cartcrom's avatar cartcrom Committed by GitHub

refactor: reorganize mini-portfolio file names (#6336)

* refactor: move MP files into subfolders

* refactor: consolidate MP subfolder file-naming scheme
parent ee563829
...@@ -5,9 +5,9 @@ import { useState } from 'react' ...@@ -5,9 +5,9 @@ import { useState } from 'react'
import InfiniteScroll from 'react-infinite-scroll-component' import InfiniteScroll from 'react-infinite-scroll-component'
import styled from 'styled-components/macro' import styled from 'styled-components/macro'
import { useAccountDrawer } from '..' import { useAccountDrawer } from '../..'
import { DEFAULT_NFT_QUERY_AMOUNT } from './constants' import { DEFAULT_NFT_QUERY_AMOUNT } from '../constants'
import { NFT } from './NFT' import { NFT } from './NFTItem'
export default function NFTs({ account }: { account: string }) { export default function NFTs({ account }: { account: string }) {
const [walletDrawerOpen, toggleWalletDrawer] = useAccountDrawer() const [walletDrawerOpen, toggleWalletDrawer] = useAccountDrawer()
......
...@@ -12,12 +12,12 @@ import { useNavigate } from 'react-router-dom' ...@@ -12,12 +12,12 @@ import { useNavigate } from 'react-router-dom'
import styled from 'styled-components/macro' import styled from 'styled-components/macro'
import { EllipsisStyle, ThemedText } from 'theme' import { EllipsisStyle, ThemedText } from 'theme'
import { useToggleAccountDrawer } from '..' import { useToggleAccountDrawer } from '../..'
import { PortfolioArrow } from '../AuthenticatedHeader' import { PortfolioArrow } from '../../AuthenticatedHeader'
import { hideSmallBalancesAtom } from '../SmallBalanceToggle' import { hideSmallBalancesAtom } from '../../SmallBalanceToggle'
import { ExpandoRow } from './ExpandoRow' import { ExpandoRow } from '../ExpandoRow'
import { PortfolioLogo } from './PortfolioLogo' import { PortfolioLogo } from '../PortfolioLogo'
import PortfolioRow, { PortfolioSkeleton, PortfolioTabWrapper } from './PortfolioRow' import PortfolioRow, { PortfolioSkeleton, PortfolioTabWrapper } from '../PortfolioRow'
const HIDE_SMALL_USD_BALANCES_THRESHOLD = 1 const HIDE_SMALL_USD_BALANCES_THRESHOLD = 1
......
...@@ -11,7 +11,7 @@ import { shouldDisableNFTRoutesAtom } from 'state/application/atoms' ...@@ -11,7 +11,7 @@ import { shouldDisableNFTRoutesAtom } from 'state/application/atoms'
import styled from 'styled-components/macro' import styled from 'styled-components/macro'
import { ThemedText } from 'theme' import { ThemedText } from 'theme'
import { ActivityTab } from './Activity/ActivityTab' import { ActivityTab } from './Activity'
import NFTs from './NFTs' import NFTs from './NFTs'
import Pools from './Pools' import Pools from './Pools'
import { PortfolioRowWrapper } from './PortfolioRow' import { PortfolioRowWrapper } from './PortfolioRow'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment