diff --git a/.changeset/wise-birds-rest.md b/.changeset/wise-birds-rest.md new file mode 100644 index 00000000000..6b325e7d14d --- /dev/null +++ b/.changeset/wise-birds-rest.md @@ -0,0 +1,5 @@ +--- +"thirdweb": patch +--- + +Dont retry social profile requests diff --git a/packages/thirdweb/src/react/core/social/useSocialProfiles.ts b/packages/thirdweb/src/react/core/social/useSocialProfiles.ts index 9e4431aed4f..8c2e5f8c18d 100644 --- a/packages/thirdweb/src/react/core/social/useSocialProfiles.ts +++ b/packages/thirdweb/src/react/core/social/useSocialProfiles.ts @@ -29,7 +29,7 @@ export function useSocialProfiles(options: { return useQuery({ queryKey: ["social-profiles", address], enabled: !!address, - retry: 3, + retry: false, queryFn: async () => { if (!address) { throw new Error(