correction bug
deploy / deploy (push) Successful in 31s

This commit is contained in:
Romain committed 2026-10-04 13:38:33 +02:00
1 parent eaad6f1e77
commit a5da756803
51 files changed
+537 -672

No files matched your search

+4 -1
View File
@@ -16,7 +16,10 @@ export default function PeopleSearch({ onClose }: { onClose: () => void }) {
useEffect(() => {
const term = q.trim()
if (term.length < 2) return setResults([])
if (term.length < 2) {
setLoading(false)
return setResults([])
}
let alive = true
setLoading(true)
const timer = setTimeout(() => {