MCPcopy Create free account
hub / github.com/anus-dev/ANUS / handleEditorSelect

Function handleEditorSelect

packages/cli/src/ui/components/EditorSettingsDialog.tsx:70–76  ·  view source on GitHub ↗
(editorType: EditorType | 'not_set')

Source from the content-addressed store, hash-verified

68 ];
69
70 const handleEditorSelect = (editorType: EditorType | 'not_set') => {
71 if (editorType === 'not_set') {
72 onSelect(undefined, selectedScope);
73 return;
74 }
75 onSelect(editorType, selectedScope);
76 };
77
78 const handleScopeSelect = (scope: SettingScope) => {
79 setSelectedScope(scope);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected