about summary refs log tree commit diff
path: root/src/components/ProfileHoverCard
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/ProfileHoverCard')
-rw-r--r--src/components/ProfileHoverCard/index.web.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/components/ProfileHoverCard/index.web.tsx b/src/components/ProfileHoverCard/index.web.tsx
index 9683244a6..2ab5eace5 100644
--- a/src/components/ProfileHoverCard/index.web.tsx
+++ b/src/components/ProfileHoverCard/index.web.tsx
@@ -74,6 +74,7 @@ export function ProfileHoverCardInner(props: ProfileHoverCardProps) {
   const prefetchedProfile = React.useRef(false)
   const prefetchIfNeeded = React.useCallback(async () => {
     if (!prefetchedProfile.current) {
+      prefetchedProfile.current = true
       prefetchProfileQuery(props.did)
     }
   }, [prefetchProfileQuery, props.did])