diff --git a/src/hooks/useAuthor.ts b/src/hooks/useAuthor.ts index 7bd9b98..271d4c2 100644 --- a/src/hooks/useAuthor.ts +++ b/src/hooks/useAuthor.ts @@ -28,6 +28,7 @@ export function useAuthor(pubkey: string | undefined) { return { event }; } }, + staleTime: 5 * 60 * 1000, // Keep cached data fresh for 5 minutes retry: 3, }); }