Skip to content

Commit

Permalink
Merge pull request #1642 from oasisprotocol/mz/tokenList
Browse files Browse the repository at this point in the history
Turn off polling in tokens list
  • Loading branch information
buberdds authored Dec 3, 2024
2 parents 5b65742 + bf0b99d commit db32a54
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions .changelog/1642.trivial.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Turn off polling in tokens list
3 changes: 1 addition & 2 deletions src/app/pages/TokensOverviewPage/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { useScreenSize } from '../../hooks/useScreensize'
import { PageLayout } from '../../components/PageLayout'
import { SubPageCard } from '../../components/SubPageCard'
import { Layer, useGetRuntimeEvmTokens } from '../../../oasis-nexus/api'
import { NUMBER_OF_ITEMS_ON_SEPARATE_PAGE, REFETCH_INTERVAL } from '../../config'
import { NUMBER_OF_ITEMS_ON_SEPARATE_PAGE } from '../../config'
import { useSearchParamsPagination } from '../../components/Table/useSearchParamsPagination'
import { AppErrors } from '../../../types/errors'
import { TableLayout, TableLayoutButton } from '../../components/TableLayoutButton'
Expand Down Expand Up @@ -46,7 +46,6 @@ export const TokensPage: FC = () => {
},
{
query: {
refetchInterval: REFETCH_INTERVAL,
// Keep showing data while loading more
keepPreviousData: tableView === TableLayout.Vertical,
},
Expand Down

0 comments on commit db32a54

Please sign in to comment.