Increase toast duration defaults

This commit is contained in:
jeffvli 2024-02-12 14:04:19 -08:00
parent b69290f9f2
commit eb4d099804

View File

@ -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,