MCPcopy
hub / github.com/tone-row/flowchart-fun / toggleOpen

Function toggleOpen

app/src/components/AiToolbar.tsx:58–58  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

56 const showUndoButton = usePromptStore((state) => state.showUndoButton);
57
58 const toggleOpen = () => setIsOpen(!isOpen);
59
60 const handleModeChange = (mode: Mode) => {
61 if (mode === currentMode && isOpen) {

Callers

nothing calls this directly

Calls 1

setIsOpenFunction · 0.90

Tested by

no test coverage detected