mirror of
https://gitlab.com/soapbox-pub/mkstack.git
synced 2026-12-03 08:07:21 +00:00
cahce profile data
This commit is contained in:
1 parent
8d14062d14
commit
d1ef321e38
1 file changed
+1
@@ -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,
|
||||
});
|
||||
}
|
||||
Reference in new issue
Block a user