()
| 80 | } |
| 81 | |
| 82 | async function onCreateSrcbook() { |
| 83 | const { result } = await createSrcbook({ |
| 84 | path: props.baseDir, |
| 85 | name: 'Untitled', |
| 86 | |
| 87 | // FIXME: copy the same language as the currently visible srcbook - should this be less |
| 88 | // implicit? |
| 89 | language: props.session.language, |
| 90 | }); |
| 91 | openSrcbook(result.path); |
| 92 | } |
| 93 | |
| 94 | return ( |
| 95 | <> |
nothing calls this directly
no test coverage detected