From 59d90ca7ae2893fc843af02978f98036b9456481 Mon Sep 17 00:00:00 2001 From: tmdeveloper007 Date: Tue, 28 Jul 2026 11:02:15 +0000 Subject: [PATCH] fix : replaced alert call with toast notification in Tasks page duration validation --- frontend/src/pages/Tasks.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/pages/Tasks.jsx b/frontend/src/pages/Tasks.jsx index 94eeaf00..e38c0941 100644 --- a/frontend/src/pages/Tasks.jsx +++ b/frontend/src/pages/Tasks.jsx @@ -141,7 +141,7 @@ export default function Tasks() { const durationValue = Number(actualDuration); if (Number.isNaN(durationValue) || durationValue <= 0) { - alert("Please enter a valid duration in minutes"); + showToast("Please enter a valid duration in minutes", "error"); return; }