Co-authored-by: renee-png <262607627+renee-png@users.noreply.github.com>
This commit is contained in:
gpt-engineer-app[bot]
2026-04-18 18:04:39 +00:00
co-authored by renee-png
parent 62e6d58921
commit fdbb7df4e7
@@ -225,7 +225,9 @@ function ContactPickerDialog({
<Input className="pl-9" placeholder="Search by name, company, email…" value={q} onChange={(e) => setQ(e.target.value)} autoFocus />
</div>
<div className="max-h-[400px] overflow-auto -mx-2">
{filtered.length === 0 ? (
{loading ? (
<p className="text-sm text-muted-foreground p-3">Searching…</p>
) : filtered.length === 0 ? (
<p className="text-sm text-muted-foreground p-3">No matching contacts.</p>
) : (
<ul className="divide-y">