This commit is contained in:
reya
2023-11-30 17:24:07 +07:00
parent 80f675cb54
commit 5318f6c4cb
31 changed files with 71 additions and 99 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ export function useProfile(pubkey: string, embed?: string) {
);
return profile;
},
initialData: () => queryClient.getQueryData(['user', pubkey]),
initialData: () => queryClient.getQueryData(['user', pubkey]) as NDKUserProfile,
refetchOnWindowFocus: false,
refetchOnReconnect: false,
retry: 2,