From b18ff2bc56a3aeaa1b393e2ed94daf2239f71511 Mon Sep 17 00:00:00 2001 From: Nathan Arthur Date: Wed, 20 Nov 2024 11:57:50 -0500 Subject: [PATCH] undo bad edit --- src/components/task.svelte | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/components/task.svelte b/src/components/task.svelte index 935d56c..e4705a2 100644 --- a/src/components/task.svelte +++ b/src/components/task.svelte @@ -9,10 +9,7 @@ let showUncleConfirm = false; let showEditModal = false; - export let task: TaskType = { - ...task, - status: task?.complete ? 'complete' : (task?.status || 'pending') - }; + export let task: TaskType; export let page: 'next' | 'archive'; export let onCopy: (task: TaskType) => void; export let onEdit: (task: TaskType) => void;