()
| 37 | const [editMode, setEditMode] = useState<boolean>(false); |
| 38 | |
| 39 | const onChangeGraphName = async () => { |
| 40 | graph.name = graphName; |
| 41 | await updatePersonalGraph(userID, graph); |
| 42 | setEditMode(false); |
| 43 | }; |
| 44 | |
| 45 | // Hotkeys for the graph name input |
| 46 | // Enter: Save the graph name |
no test coverage detected