()
| 202 | if (selectedPath === n.path) await selectNote(meta.path) |
| 203 | } |
| 204 | const onDeleteForever = async (): Promise<void> => { |
| 205 | await window.zen.deleteNote(n.path) |
| 206 | await refreshNotes() |
| 207 | if (selectedPath === n.path) await selectNote(null) |
| 208 | } |
| 209 | const onNew = async (): Promise<void> => { |
| 210 | await useStore |
| 211 | .getState() |
nothing calls this directly
no test coverage detected