improve menu behavior
Build Images and Deploy / Update-PROD-Stack (push) Successful in 34s

This commit is contained in:
2026-01-30 16:35:05 -05:00
parent 9c0fd35804
commit 45c98f9fc7
5 changed files with 39 additions and 7 deletions
+2 -2
View File
@@ -175,7 +175,7 @@ export default function ChallengeDetail() {
return;
}
// Debounce search by 1 second
// Debounce search by 0.5 second
const timeout = setTimeout(async () => {
try {
const data = await api.searchUsers(query);
@@ -183,7 +183,7 @@ export default function ChallengeDetail() {
} catch (err) {
console.error('Search failed:', err);
}
}, 1000);
}, 500);
setSearchTimeout(timeout);
};