MCPcopy
hub / github.com/claude-code-best/claude-code / handleSelect

Function handleSelect

src/components/InvalidConfigDialog.tsx:32–38  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

30}: InvalidConfigDialogProps): React.ReactNode {
31 // Handler for Select onChange
32 const handleSelect = (value: string) => {
33 if (value === 'exit') {
34 onExit();
35 } else {
36 onReset();
37 }
38 };
39
40 return (
41 <Dialog title="Configuration Error" color="error" onCancel={onExit}>

Callers

nothing calls this directly

Calls 1

onExitFunction · 0.85

Tested by

no test coverage detected