Skip to content

Commit 4b4ada4

Browse files
fix: Disable social profile request retries
1 parent da5d8ec commit 4b4ada4

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/wise-birds-rest.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"thirdweb": patch
3+
---
4+
5+
Dont retry social profile requests

packages/thirdweb/src/react/core/social/useSocialProfiles.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export function useSocialProfiles(options: {
2929
return useQuery({
3030
queryKey: ["social-profiles", address],
3131
enabled: !!address,
32-
retry: 3,
32+
retry: false,
3333
queryFn: async () => {
3434
if (!address) {
3535
throw new Error(

0 commit comments

Comments
 (0)