mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-10 04:30:25 +02:00
Increase toast duration defaults
This commit is contained in:
@@ -30,7 +30,7 @@ const showToast = ({ type, ...props }: NotificationProps) => {
|
|||||||
? 'Error'
|
? 'Error'
|
||||||
: 'Info';
|
: 'Info';
|
||||||
|
|
||||||
const defaultDuration = type === 'error' ? 2000 : 1000;
|
const defaultDuration = type === 'error' ? 5000 : 2000;
|
||||||
|
|
||||||
return showNotification({
|
return showNotification({
|
||||||
autoClose: defaultDuration,
|
autoClose: defaultDuration,
|
||||||
|
|||||||
Reference in New Issue
Block a user