MCPcopy Create free account
hub / github.com/TanStack/devtools / unsub

Function unsub

packages/devtools/src/devtools.tsx:95–99  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

93 setHeight(nextHeight)
94 setIsOpen(nextHeight >= PANEL_CLOSE_THRESHOLD)
95 }
96
97 const toggleOpen = () => {
98 if (pip().pipWindow) return
99 const newState = !isOpen()
100 setIsOpen(newState)
101 setPersistOpen(newState)
102 devtoolsEventClient.emit('trigger-toggled', { isOpen: newState })

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected