Open source Loom alternative. Beautiful, shareable screen recordings.
Rust appcapcossloommacnextjsnextjs15open-sourceossreactrecordrustscreen-capturescreen-recorderscreenshotsolidjstauritauri-apptypescriptvite
Throw error on export dialog cancel
Richie McIlroyf382e2c57c70
diff --git a/apps/desktop/src/routes/editor/ExportPage.tsx b/apps/desktop/src/routes/editor/ExportPage.tsxindex 56c0f724d..5169e656a 100644--- a/apps/desktop/src/routes/editor/ExportPage.tsx+++ b/apps/desktop/src/routes/editor/ExportPage.tsx@@ -438,8 +438,7 @@ export function ExportPage() {defaultPath: `~/Desktop/${meta().prettyName}.${extension}`,});if (!savePath) {- setExportState(reconcile({ type: "idle" }));- return;+ throw new SilentError("Save dialog cancelled");}setExportState(reconcile({ action: "save", type: "starting" }));