removed lodash

This commit is contained in:
2024-10-10 16:44:08 +03:00
parent 986d3420cb
commit f949852c1a
13 changed files with 1164 additions and 714 deletions
+11
View File
@@ -0,0 +1,11 @@
export function debounce(callback, wait) {
let timeoutId = null;
return (...args) => {
window.clearTimeout(timeoutId);
timeoutId = window.setTimeout(() => {
callback.apply(null, args);
}, wait);
};
}