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

Function resizeCB

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

Source from the content-addressed store, hash-verified

387 createEffect(() => {
388 const win = pip().pipWindow
389 const resizeCB = () => {
390 if (!win) return
391 setPanelWidth(win.innerWidth)
392 }
393 if (win) {
394 win.addEventListener('resize', resizeCB)
395 resizeCB()

Callers 1

PiPPanelFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected