Skip to content

Commit

Permalink
undo bad edit
Browse files Browse the repository at this point in the history
  • Loading branch information
narthur committed Nov 20, 2024
1 parent bc535a7 commit b18ff2b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/components/task.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit b18ff2b

Please sign in to comment.