Cleanup linting messages. Also, break some things
This commit is contained in:
@@ -92,6 +92,7 @@ export const useTaskStore = defineStore('tasks', {
|
||||
docId
|
||||
);
|
||||
this.tasks = this.tasks.filter((task) => docId !== task.$id);
|
||||
console.log(response);
|
||||
} catch (error) {
|
||||
// Need some better error handling, here.
|
||||
console.error('Failed to delete task:', error);
|
||||
|
||||
Reference in New Issue
Block a user