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: remove stale setStartInput/setEndInput calls in schedule settings

Louis Beaumont0e03e9f2bb97
diff --git a/apps/screenpipe-app-tauri/components/settings/schedule-settings.tsx b/apps/screenpipe-app-tauri/components/settings/schedule-settings.tsx
index e92043392..4b7874022 100644
--- a/apps/screenpipe-app-tauri/components/settings/schedule-settings.tsx
+++ b/apps/screenpipe-app-tauri/components/settings/schedule-settings.tsx
@@ -386,7 +386,6 @@ function RuleEditor({ rule, onUpdate, onRemove }: RuleEditorProps) {
type="time"
value={startInput}
onChange={(e) => {
- setStartInput(e.target.value);
const validated = validateTimeInput(e.target.value);
if (validated) onUpdate({ startTime: validated });
}}
@@ -399,7 +398,6 @@ function RuleEditor({ rule, onUpdate, onRemove }: RuleEditorProps) {
type="time"
value={endInput}
onChange={(e) => {
- setEndInput(e.target.value);
const validated = validateTimeInput(e.target.value);
if (validated) onUpdate({ endTime: validated });
}}