fix tax log

This commit is contained in:
2026-02-19 16:05:59 +03:00
parent 197647d97a
commit b40649b9ed
36 changed files with 4414 additions and 40 deletions

View File

@@ -0,0 +1,19 @@
/**
* Debounce utility function
* Delays the execution of a function until a specified time has passed since the last call
*
* @param {Function} func - The function to debounce
* @param {number} wait - The delay in milliseconds
* @returns {Function} - The debounced function
*/
export function debounce(func, wait) {
let timeout;
return function executedFunction(...args) {
const later = () => {
clearTimeout(timeout);
func(...args);
};
clearTimeout(timeout);
timeout = setTimeout(later, wait);
};
}