Skip to content

Commit

Permalink
Revert "feat: reduce Dashboard layout shifts (#3611)"
Browse files Browse the repository at this point in the history
This reverts commit 125e3df.
  • Loading branch information
therealemjy committed Dec 13, 2024
1 parent 2b8421b commit abf6345
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
"@venusprotocol/evm": patch
---

reduce Dashboard layout shifts
reduce layout shift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { type QueryObserverOptions, keepPreviousData, useQuery } from '@tanstack/react-query';
import { type QueryObserverOptions, useQuery } from '@tanstack/react-query';

import { useGetApiPools } from 'clients/api';
import getIsolatedPools, {
Expand Down Expand Up @@ -93,7 +93,6 @@ const useGetIsolatedPools = (input?: TrimmedInput, options?: Options) => {
),

refetchInterval,
placeholderData: keepPreviousData,
...options,
enabled: isQueryEnabled,
});
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { type QueryObserverOptions, keepPreviousData, useQuery } from '@tanstack/react-query';
import { type QueryObserverOptions, useQuery } from '@tanstack/react-query';

import getLegacyPool, {
type GetLegacyPoolInput,
Expand Down Expand Up @@ -109,7 +109,6 @@ const useGetLegacyPool = (input?: TrimmedInput, options?: Partial<Options>) => {
}),
),
refetchInterval,
placeholderData: keepPreviousData,
...options,
enabled: isQueryEnabled,
});
Expand Down

0 comments on commit abf6345

Please sign in to comment.