Increase toast duration defaults
This commit is contained in:
parent
b69290f9f2
commit
eb4d099804
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ const showToast = ({ type, ...props }: NotificationProps) => {
|
|||
? 'Error'
|
||||
: 'Info';
|
||||
|
||||
const defaultDuration = type === 'error' ? 2000 : 1000;
|
||||
const defaultDuration = type === 'error' ? 5000 : 2000;
|
||||
|
||||
return showNotification({
|
||||
autoClose: defaultDuration,
|
||||
|
|
Reference in a new issue