Commit c9638c9
committed
Fix default timeout value.
Many callsites don’t pass duration, relying on the default.
The way the default was specified was wrong, resulting in an 'undefined' value
if no duration is passed instead of 5000.
Passing `undefined` to setTimeout causes an immediate timeout (in practise
a very shortly visible TUI toast UI.1 parent 66e8c57 commit c9638c9
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
0 commit comments