perf: clean resource popover focus frame effect (#4018)

This commit is contained in:
Neil 2026-05-31 01:24:59 -07:00 committed by GitHub
parent aed7703d30
commit 5c072cbff2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 2 deletions

View File

@ -714,8 +714,6 @@ export function ResourceUsageStatusSegment({
popoverBodyFocusFrameRef.current = null
}, [])
useEffect(() => cancelPopoverBodyFocusFrame, [cancelPopoverBodyFocusFrame])
const setPopoverBodyNode = useCallback(
(node: HTMLDivElement | null): void => {
// Why: the queued post-kill focus is only valid while the popover body exists.