MCPcopy Index your code
hub / github.com/CodebuffAI/codebuff / handleClose

Function handleClose

cli/src/components/top-banner.tsx:102–108  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

100 }
101
102 const handleClose = () => {
103 closeTopBanner()
104 // Reset input mode if it's related to this banner
105 if (config.relatedInputMode && inputMode === config.relatedInputMode) {
106 setInputMode('default')
107 }
108 }
109
110 const themeRecord = theme as unknown as Record<string, string>
111 const borderColor = themeRecord[config.borderColorKey]

Callers

nothing calls this directly

Calls 1

setInputModeFunction · 0.85

Tested by

no test coverage detected