TanStack devtools plugin pane; percentage heights break without this.
(el: HTMLElement)
| 20 | |
| 21 | /** TanStack devtools plugin pane; percentage heights break without this. */ |
| 22 | function resolvePluginHost(el: HTMLElement): HTMLElement | null { |
| 23 | const found = el.closest('[id^="plugin-container-"]') |
| 24 | if (found instanceof HTMLElement) return found |
| 25 | let n: HTMLElement | null = el |
| 26 | for (let i = 0; i < 3 && n; i++) { |
| 27 | n = n.parentElement |
| 28 | } |
| 29 | return n |
| 30 | } |
| 31 | |
| 32 | export function Shell() { |
| 33 | const styles = useStyles() |
no outgoing calls
no test coverage detected
searching dependent graphs…