Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
shawnxie999 committed Oct 10, 2024
1 parent 2889f73 commit 8f31030
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
12 changes: 6 additions & 6 deletions src/containers/Accounts/AccountMPTTable/AccountMPTTable.tsx
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
import { useContext } from 'react'
import { useTranslation } from 'react-i18next'
import { useInfiniteQuery } from 'react-query'
import { useQuery } from 'react-query'
import { useInfiniteQuery, useQuery } from 'react-query'
import { Loader } from '../../shared/components/Loader'
import SocketContext from '../../shared/SocketContext'
import { useAnalytics } from '../../shared/analytics'
import { EmptyMessageTableRow } from '../../shared/EmptyMessageTableRow'
import { getAccountMPTs } from '../../../rippled/lib/rippled'
import { getAccountMPTs, getMPTIssuance } from '../../../rippled/lib/rippled'
import { Account } from '../../shared/components/Account'
import { LoadMoreButton } from '../../shared/LoadMoreButton'
import { MPTokenLink } from '../../shared/components/MPTokenLink'
import { formatMPTokenInfo } from '../../../rippled/lib/utils'
import {
formatMPTokenInfo,
formatMPTIssuanceInfo,
} from '../../../rippled/lib/utils'
import { MPTIssuanceFormattedInfo } from '../../shared/Interfaces'
import { getMPTIssuance } from '../../../rippled/lib/rippled'
import { formatMPTIssuanceInfo } from '../../../rippled/lib/utils'
import { convertScaledPrice } from '../../shared/utils'

export interface AccountMPTTableProps {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { I18nextProvider } from 'react-i18next'
import { BrowserRouter } from 'react-router-dom'
import { mount } from 'enzyme'
import { QueryClientProvider } from 'react-query'
import { AccountMPTRow } from '../AccountMPTTable'
import i18n from '../../../../i18n/testConfig'
import { QueryClientProvider } from 'react-query'
import { testQueryClient } from '../../../test/QueryClient'
import { getMPTIssuance } from '../../../../rippled/lib/rippled'
import { flushPromises } from '../../../test/utils'
Expand Down
3 changes: 1 addition & 2 deletions src/containers/shared/components/Amount.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,14 @@ import { useQuery } from 'react-query'
import { useContext } from 'react'
import { CURRENCY_OPTIONS, XRP_BASE } from '../transactionUtils'
import { useLanguage } from '../hooks'
import { localizeNumber, localizeMPTNumber } from '../utils'
import { localizeNumber, localizeMPTNumber, convertScaledPrice } from '../utils'
import Currency from './Currency'
import { ExplorerAmount } from '../types'
import { MPTIssuanceFormattedInfo } from '../Interfaces'
import { getMPTIssuance } from '../../../rippled/lib/rippled'
import { formatMPTIssuanceInfo } from '../../../rippled/lib/utils'
import SocketContext from '../SocketContext'
import { useAnalytics } from '../analytics'
import { convertScaledPrice } from '../utils'

export interface AmountProps {
value: ExplorerAmount | string
Expand Down

0 comments on commit 8f31030

Please sign in to comment.