Commit 28eaaded authored by Martin Fahl's avatar Martin Fahl

removes comments

parent bbd2690e
......@@ -11,18 +11,4 @@ const debounced = (delay, fn) => {
}
}
// const debounced = (delay, fn) => {
// let timerId;
// return function (...args) {
// if (timerId) {
// clearTimeout(timerId)
// }
// timerId = setTimeout(() => {
// fn(...args)
// timerId = null
// }, delay)
// }
// }
export default debounced
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment