Skip to content

Commit

Permalink
dev: update swr
Browse files Browse the repository at this point in the history
  • Loading branch information
dewanshparashar committed Jan 7, 2025
1 parent fdbc0b9 commit 839137f
Show file tree
Hide file tree
Showing 3 changed files with 158 additions and 206 deletions.
2 changes: 1 addition & 1 deletion packages/arb-token-bridge-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"react-use": "^17.6.0",
"react-virtualized": "^9.22.3",
"sharp": "^0.33.5",
"swr": "^2.1.2",
"swr": "^2.3.0",
"tailwind-merge": "^2.5.5",
"use-query-params": "^2.2.1",
"wagmi": "^0.12.18",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export function useAccountIsBlocked() {
const { data: isBlocked } = useSWRImmutable<boolean>(
queryKey,
// Extracts the first element of the query key as the fetcher param
([_address]) => fetcher(_address)
([_address]: [Address]) => fetcher(_address)
)

return { isBlocked }
Expand Down
Loading

0 comments on commit 839137f

Please sign in to comment.