Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

fix(workflows): use literal translation keys for schedule errors

louis4421f7c4dfa9
diff --git a/apps/screenpipe-app-tauri/components/workflows/workflow-tasks-prompt.tsx b/apps/screenpipe-app-tauri/components/workflows/workflow-tasks-prompt.tsx
index 9d9c2af29..7ca1ca2ad 100644
--- a/apps/screenpipe-app-tauri/components/workflows/workflow-tasks-prompt.tsx
+++ b/apps/screenpipe-app-tauri/components/workflows/workflow-tasks-prompt.tsx
@@ -132,7 +132,7 @@ export function WorkflowTasksPrompt({ active, tasks = desktopTasks, backendReady
// optimistic all-on/all-off claim or roll a user's off request back on.
try { setSetup(await tasks.load()); } catch { setSetup(null); }
setFailedTarget(enabled);
- setError(ui(enabled ? "Could not enable all tasks. Please try again." : "Could not turn off all tasks. Please try again."));
+ setError(enabled ? ui("Could not enable all tasks. Please try again.") : ui("Could not turn off all tasks. Please try again."));
} finally {
enabling.current = false;
setBusy(false);