()
| 161 | const n = notes.find((note) => note.path === menu.path) |
| 162 | if (!n) return [] |
| 163 | const onOpen = async (): Promise<void> => { |
| 164 | await selectNote(n.path) |
| 165 | } |
| 166 | const onDuplicate = async (): Promise<void> => { |
| 167 | const meta = await window.zen.duplicateNote(n.path) |
| 168 | await refreshNotes() |
no outgoing calls
no test coverage detected