()
| 178 | } |
| 179 | |
| 180 | const handleCreateNew = () => { |
| 181 | const newShortcut: Shortcut = { |
| 182 | id: createId(), |
| 183 | name: '', |
| 184 | description: '', |
| 185 | sequence: [], |
| 186 | } |
| 187 | setShortcuts((prev) => [...prev, newShortcut]) |
| 188 | setEditingId(newShortcut.id) |
| 189 | setDraftName('') |
| 190 | setDraftDescription('') |
| 191 | recorder.startRecording() |
| 192 | } |
| 193 | |
| 194 | return ( |
| 195 | <div className="app"> |
nothing calls this directly
no test coverage detected
searching dependent graphs…