Fix(toasts): increase default timeout
This commit is contained in:
@ -9,7 +9,7 @@ export const makeToast = createAction(
|
|||||||
// assign current value of key to new toast
|
// assign current value of key to new toast
|
||||||
// and then increment key value
|
// and then increment key value
|
||||||
key: key++,
|
key: key++,
|
||||||
dismissAfter: timeout || 2000,
|
dismissAfter: timeout || 6000,
|
||||||
position: rest.position === 'left' ? 'left' : 'right'
|
position: rest.position === 'left' ? 'left' : 'right'
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
|
Reference in New Issue
Block a user