Skip to content

Commit 6e651f1

Browse files
fix: added DialogTitle to delete confirmation to prevent screen freeze (#335)
1 parent db92199 commit 6e651f1

File tree

2 files changed

+11
-26
lines changed

2 files changed

+11
-26
lines changed

frontend/package-lock.json

Lines changed: 9 additions & 24 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,9 +118,9 @@ export const NavbarDesktop = (
118118
</DialogTrigger>
119119
<DialogContent>
120120
<DialogHeader>
121-
<DialogDescription className="text-lg font-semibold text-red-600">
121+
<DialogTitle className="text-lg font-semibold text-red-600">
122122
Delete All Tasks?
123-
</DialogDescription>
123+
</DialogTitle>
124124
</DialogHeader>
125125
<div className="py-4">
126126
<p className="text-base mb-2">

0 commit comments

Comments
 (0)