Skip to content

Commit

Permalink
Smaller DISAPPEAR_AFTER time for toasts
Browse files Browse the repository at this point in the history
  • Loading branch information
tboba committed Sep 21, 2023
1 parent e41e78e commit 72ad7e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Example/src/shared/Toast.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ interface ToastProps {
remove: (_: string) => void;
}

const DISAPPEAR_AFTER = 40 * 1000; // 40 x 1000 ms -> 40 s
const DISAPPEAR_AFTER = 10 * 1000; // 10 x 1000 ms -> 10 s

const Toast = ({
index,
Expand Down

0 comments on commit 72ad7e7

Please sign in to comment.