diff --git a/src/app/pages/RuntimeTransactionDetailPage/__tests__/CurrentFiatValue.test.tsx b/src/app/components/CurrentFiatValue/__tests__/CurrentFiatValue.test.tsx similarity index 90% rename from src/app/pages/RuntimeTransactionDetailPage/__tests__/CurrentFiatValue.test.tsx rename to src/app/components/CurrentFiatValue/__tests__/CurrentFiatValue.test.tsx index 829d29ba2e..a3400a3d3a 100644 --- a/src/app/pages/RuntimeTransactionDetailPage/__tests__/CurrentFiatValue.test.tsx +++ b/src/app/components/CurrentFiatValue/__tests__/CurrentFiatValue.test.tsx @@ -1,5 +1,5 @@ import { screen, render } from '@testing-library/react' -import { CurrentFiatValue } from '../CurrentFiatValue' +import { CurrentFiatValue } from '..' describe('CurrentFiatValue', () => { it('should display formatted values', () => { diff --git a/src/app/pages/RuntimeTransactionDetailPage/CurrentFiatValue.tsx b/src/app/components/CurrentFiatValue/index.tsx similarity index 100% rename from src/app/pages/RuntimeTransactionDetailPage/CurrentFiatValue.tsx rename to src/app/components/CurrentFiatValue/index.tsx diff --git a/src/app/pages/ConsensusTransactionDetailPage/index.tsx b/src/app/pages/ConsensusTransactionDetailPage/index.tsx index 6f28540ad2..3fdb6689ff 100644 --- a/src/app/pages/ConsensusTransactionDetailPage/index.tsx +++ b/src/app/pages/ConsensusTransactionDetailPage/index.tsx @@ -20,7 +20,7 @@ import { useFormattedTimestampStringWithDistance } from 'app/hooks/useFormattedT import { RoundedBalance } from 'app/components/RoundedBalance' import { AccountLink } from 'app/components/Account/AccountLink' import { getPreciseNumberFormat } from 'locales/getPreciseNumberFormat' -import { CurrentFiatValue } from '../RuntimeTransactionDetailPage/CurrentFiatValue' +import { CurrentFiatValue } from '../../components/CurrentFiatValue' import { AllTokenPrices, useAllTokenPrices } from 'coin-gecko/api' import { getFiatCurrencyForScope } from '../../../config' import { transaction } from '@oasisprotocol/client-rt' diff --git a/src/app/pages/RuntimeTransactionDetailPage/index.tsx b/src/app/pages/RuntimeTransactionDetailPage/index.tsx index 47071e1132..a25bc08973 100644 --- a/src/app/pages/RuntimeTransactionDetailPage/index.tsx +++ b/src/app/pages/RuntimeTransactionDetailPage/index.tsx @@ -27,7 +27,7 @@ import { useRequiredScopeParam } from '../../hooks/useScopeParam' import { DashboardLink } from '../ParatimeDashboardPage/DashboardLink' import { getNameForTicker, Ticker } from '../../../types/ticker' import { AllTokenPrices, useAllTokenPrices } from '../../../coin-gecko/api' -import { CurrentFiatValue } from './CurrentFiatValue' +import { CurrentFiatValue } from '../../components/CurrentFiatValue' import { AddressSwitch, AddressSwitchOption } from '../../components/AddressSwitch' import { TransactionEncryptionStatus } from '../../components/TransactionEncryptionStatus' import Typography from '@mui/material/Typography'