Skip to content

Commit c783157

Browse files
authored
fix: delete all tasks dialog state conflict (#337)
1 parent 6e651f1 commit c783157

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

frontend/src/components/HomeComponents/Navbar/NavbarDesktop.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ export const NavbarDesktop = (
110110
<DialogTrigger>
111111
<DropdownMenuItem
112112
className="text-red-500"
113-
onClick={() => setIsDeleteConfirmOpen(true)}
113+
onSelect={(e) => e.preventDefault()}
114114
>
115115
<Trash2 className="mr-2 h-4 w-4" />
116116
Delete all tasks

0 commit comments

Comments
 (0)