Clean up HistoryView: remove debug logs and unused code (#6133)
- Remove console.info debug statement from deleteTaskWithId - Rename filteredTasks to tasks for clarity - Remove unused presentableTasks variable - Remove commented out empty state UI code
This commit is contained in:
1 parent
9ac17c2ec8
commit
7ec918261c
2 files changed
+7
-27
No files matched your search
@@ -47,8 +47,6 @@ export async function deleteTasksWithIds(controller: Controller, request: String
|
||||
* @param id The task ID to delete
|
||||
*/
|
||||
async function deleteTaskWithId(controller: Controller, id: string): Promise<void> {
|
||||
console.info("deleteTaskWithId: ", id)
|
||||
|
||||
try {
|
||||
// Clear current task if it matches the ID being deleted
|
||||
if (id === controller.task?.taskId) {
|
||||
|
||||
Reference in new issue
Block a user