Open source Loom alternative. Beautiful, shareable screen recordings.
Rust appcapcossloommacnextjsnextjs15open-sourceossreactrecordrustscreen-capturescreen-recorderscreenshotsolidjstauritauri-apptypescriptvite
don't silent fail in createMutation
Brendan Allan9f12454c9b9a
diff --git a/apps/desktop/src/routes/(window-chrome)/index.tsx b/apps/desktop/src/routes/(window-chrome)/index.tsxindex d06d8102b..cf0436b3c 100644--- a/apps/desktop/src/routes/(window-chrome)/index.tsx+++ b/apps/desktop/src/routes/(window-chrome)/index.tsx@@ -66,12 +66,8 @@ export default function () {const toggleRecording = createMutation(() => ({mutationFn: async () => {- try {- if (!isRecording()) await commands.startRecording();- else await commands.stopRecording();- } catch (error) {- console.error("Error toggling recording:", error);- }+ if (!isRecording()) await commands.startRecording();+ else await commands.stopRecording();},}));