MCPcopy
hub / github.com/coder/mux / startEditing

Function startEditing

src/browser/components/SectionHeader/SectionHeader.tsx:63–67  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

61 const sectionMenu = useContextMenuPosition();
62
63 const startEditing = () => {
64 setEditValue(section.name);
65 setHasEditedName(false);
66 setIsEditing(true);
67 };
68
69 useEffect(() => {
70 if (!autoStartEditing || autoStartHandledRef.current) {

Callers 1

SectionHeaderFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected