Skip to content

Commit

Permalink
wrapper base only (#398)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmzwar authored Aug 12, 2024
1 parent e0d72ee commit 97104af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion liquidity/lib/useGetUSDTokens/useGetUSDTokens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export const useGetWrapperToken = (marketId: string, customNetwork?: Network) =>

return useQuery({
queryKey: [`${targetNetwork?.id}-${targetNetwork?.preset}`, 'GetWrapperToken', marketId],
enabled: Boolean(targetNetwork?.id && SpotMarket),
enabled: Boolean(targetNetwork?.id && SpotMarket && isBase),
queryFn: async () => {
if (!targetNetwork?.id || !SpotMarket) {
throw 'useGetWrapperToken queries are not ready';
Expand Down

0 comments on commit 97104af

Please sign in to comment.