Skip to content

Commit 225514f

Browse files
author
Jostein Kringlen
committed
feat: add default warn duration
1 parent f7efa4c commit 225514f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/core/store.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,7 @@ const defaultTimeouts: {
174174
success: 2000,
175175
loading: Infinity,
176176
custom: 4000,
177+
warn: 3000,
177178
};
178179

179180
export const useStore = (toastOptions: DefaultToastOptions = {}): State => {

0 commit comments

Comments
 (0)