Skip to content

Commit

Permalink
Move CurrentFiatValue to common components
Browse files Browse the repository at this point in the history
  • Loading branch information
buberdds committed Jul 15, 2024
1 parent ccd88bd commit 1c802ed
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -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', () => {
Expand Down
2 changes: 1 addition & 1 deletion src/app/pages/ConsensusTransactionDetailPage/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Expand Down
2 changes: 1 addition & 1 deletion src/app/pages/RuntimeTransactionDetailPage/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 1c802ed

Please sign in to comment.