reduce default toast duration to 3000ms

This commit is contained in:
ammarahm-ed
2020-09-14 09:43:09 +05:00
parent f17452d08a
commit 3aefbaca56

View File

@@ -82,7 +82,7 @@ export const ToastEvent = {
message,
type = "error",
context = 'global',
duration = 6000,
duration = 3000,
func = null,
actionText = '',
) => {
@@ -99,7 +99,7 @@ export const ToastEvent = {
message,
type = "error",
context = 'global',
duration = 6000,
duration = 3000,
func = null,
actionText = '',
) => {