diff options
author | dan <dan.abramov@gmail.com> | 2024-04-13 18:40:50 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-13 18:40:50 +0100 |
commit | 2164d322953768a9b54b1fb1a237a7f12b36769f (patch) | |
tree | 235adade6f690d9aaba20d1c4482949601f3dfa5 /src/components | |
parent | 228d947a8420f2c3a105162dc373267115be574d (diff) | |
download | voidsky-2164d322953768a9b54b1fb1a237a7f12b36769f.tar.zst |
Fix oopsie (#3538)
Diffstat (limited to 'src/components')
-rw-r--r-- | src/components/ProfileHoverCard/index.web.tsx | 1 |
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]) |