From d1ef321e38c5ba05f66d9ca234278885f7de6aff Mon Sep 17 00:00:00 2001 From: sam Date: Tue, 21 Oct 2025 17:37:52 +0700 Subject: [PATCH] cahce profile data --- src/hooks/useAuthor.ts | 1 + 1 file changed, 1 insertion(+) 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, }); }