Fix oopsie (#3538)
parent
228d947a84
commit
2164d32295
|
@ -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])
|
||||
|
|
Loading…
Reference in New Issue