Skip to content

Commit 51a1398

Browse files
authored
Merge pull request #2004 from ykimdeveloper/1975-FEAT-Debounce100ms
1933-FIX-DebounceTiming
2 parents 47a7997 + 9ba4f48 commit 51a1398

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

settings/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
const settings = {
22
map: {
33
debounce: {
4-
duration: 1500, // milliseconds
4+
duration: 100, // milliseconds
55
options: {
66
leading: true, // calls function immediately when invoked (React-friendly)
77
trailing: false, // calls function after last input event fired (Not React-friendly)

utils/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,4 +181,4 @@ export function shuffle(array) {
181181
.map(a => ({ sort: Math.random(), value: a }))
182182
.sort((a, b) => a.sort - b.sort)
183183
.map(a => a.value);
184-
}
184+
}

0 commit comments

Comments
 (0)