From f0c10ba5ec57ab431d7b5eabbd9ef040320a10cc Mon Sep 17 00:00:00 2001 From: Bhanu Singh <122738012+bhanusingh008@users.noreply.github.com> Date: Sat, 14 Oct 2023 19:54:48 +0530 Subject: [PATCH] Update DateOverrideInputDialog.tsx (#11884) reduced the toast timeout, so button is not overlayed. --- .../features/schedules/components/DateOverrideInputDialog.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/features/schedules/components/DateOverrideInputDialog.tsx b/packages/features/schedules/components/DateOverrideInputDialog.tsx index 2ae8891300..84ec723052 100644 --- a/packages/features/schedules/components/DateOverrideInputDialog.tsx +++ b/packages/features/schedules/components/DateOverrideInputDialog.tsx @@ -179,7 +179,7 @@ const DateOverrideForm = ({ color="primary" type="submit" onClick={() => { - showToast(t("date_successfully_added"), "success"); + showToast(t("date_successfully_added"), "success", 500); }} disabled={selectedDates.length === 0} data-testid="add-override-submit-btn">