Skip to content

Commit

Permalink
remove skipClientId
Browse files Browse the repository at this point in the history
  • Loading branch information
tinaszheng committed Dec 13, 2024
1 parent 9e9668a commit 5083ca4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/hooks/transfers/useTransfers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export const assetsQueryFn = async (skipClient: SkipClient) => {
};

export const useTransfers = () => {
const { skipClient, skipClientId } = useSkipClient();
const { skipClient } = useSkipClient();
const { dydxAddress, sourceAccount } = useAccounts();
const selectedDydxChainId = useAppSelector(getSelectedDydxChainId);

Expand All @@ -87,14 +87,14 @@ export const useTransfers = () => {
const debouncedAmountBN = useMemo(() => MustBigNumber(debouncedAmount), [debouncedAmount]);

const chainsQuery = useQuery({
queryKey: ['transferEligibleChains', skipClientId],
queryKey: ['transferEligibleChains'],
queryFn: () => chainsQueryFn(skipClient),
refetchOnWindowFocus: false,
refetchOnMount: false,
refetchOnReconnect: false,
});
const assetsQuery = useQuery({
queryKey: ['transferEligibleAssets', skipClientId],
queryKey: ['transferEligibleAssets'],
queryFn: () => assetsQueryFn(skipClient),
refetchOnWindowFocus: false,
refetchOnMount: false,
Expand Down

0 comments on commit 5083ca4

Please sign in to comment.