Skip to content

Commit

Permalink
Reduce custom toast duration to 4 seconds
Browse files Browse the repository at this point in the history
  • Loading branch information
timolins committed May 16, 2021
1 parent f1d367c commit 466825d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ const defaultTimeouts: {
error: 4000,
success: 2000,
loading: Infinity,
custom: 30000,
custom: 4000,
};

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

0 comments on commit 466825d

Please sign in to comment.