Skip to content

Commit

Permalink
remove skeleton animations (blockscout#2505)
Browse files Browse the repository at this point in the history
* remove skeleton animations test

* eslint add Skeleton

* eslint-fix
  • Loading branch information
tom2drum authored and carlomigueldy committed Feb 6, 2025
1 parent 59035da commit e8352de
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ui/address/utils/useAddressQuery.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,10 @@ export default function useAddressQuery({ hash, isEnabled = true }: Params): Add
}, [ rpcQuery.data, rpcQuery.isPlaceholderData ]);

const isRpcQuery = Boolean(

(apiQuery.isError || apiQuery.isPlaceholderData) &&
!(apiQuery.error?.status && NO_RPC_FALLBACK_ERROR_CODES.includes(apiQuery.error?.status)) &&
!NO_RPC_FALLBACK_ERROR_CODES.includes(apiQuery.error?.status ?? 999) &&
apiQuery.errorUpdateCount > 0 &&
rpcQuery.data &&
publicClient,
Expand Down

0 comments on commit e8352de

Please sign in to comment.