From 2164d322953768a9b54b1fb1a237a7f12b36769f Mon Sep 17 00:00:00 2001 From: dan Date: Sat, 13 Apr 2024 18:40:50 +0100 Subject: [PATCH] Fix oopsie (#3538) --- src/components/ProfileHoverCard/index.web.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/ProfileHoverCard/index.web.tsx b/src/components/ProfileHoverCard/index.web.tsx index 9683244a..2ab5eace 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])