Update DateOverrideInputDialog.tsx (#11884)

reduced the toast timeout, so button is not overlayed.
pull/11879/head^2
Bhanu Singh 2023-10-14 19:54:48 +05:30 committed by GitHub
parent 7f4b95123f
commit f0c10ba5ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -179,7 +179,7 @@ const DateOverrideForm = ({
color="primary" color="primary"
type="submit" type="submit"
onClick={() => { onClick={() => {
showToast(t("date_successfully_added"), "success"); showToast(t("date_successfully_added"), "success", 500);
}} }}
disabled={selectedDates.length === 0} disabled={selectedDates.length === 0}
data-testid="add-override-submit-btn"> data-testid="add-override-submit-btn">