MCPcopy Create free account
hub / github.com/TanStack/query / resizeCB

Function resizeCB

packages/query-devtools/src/Devtools.tsx:327–330  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

325 createEffect(() => {
326 const win = pip().pipWindow
327 const resizeCB = () => {
328 if (!win) return
329 setPanelWidth(win.innerWidth)
330 }
331 if (win) {
332 win.addEventListener('resize', resizeCB)
333 resizeCB()

Callers 1

PiPPanelFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected