MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / toggleDrawer

Function toggleDrawer

javascript/grid-ui/src/App.tsx:62–64  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

60 const [drawerOpen, setDrawerOpen] = useState(true)
61
62 const toggleDrawer = (): void => {
63 setDrawerOpen(!drawerOpen)
64 }
65
66 const maxSession = error !== undefined ? 0 : data?.grid?.maxSession ?? 0
67 const sessionCount = error !== undefined ? 0 : data?.grid?.sessionCount ?? 0

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected