This commit is contained in:
Timothy Jaeryang Baek
2025-09-18 17:47:32 -05:00
parent 2de11f8daf
commit c07086401e
3 changed files with 12 additions and 0 deletions

View File

@@ -43,6 +43,10 @@
let searchDebounceTimeout;
const searchHandler = async () => {
if (!show) {
return;
}
if (searchDebounceTimeout) {
clearTimeout(searchDebounceTimeout);
}

View File

@@ -39,6 +39,10 @@
}
const searchHandler = async () => {
if (!show) {
return;
}
if (searchDebounceTimeout) {
clearTimeout(searchDebounceTimeout);
}

View File

@@ -91,6 +91,10 @@
};
const searchHandler = async () => {
if (!show) {
return;
}
if (searchDebounceTimeout) {
clearTimeout(searchDebounceTimeout);
}