diff --git a/components/dashboard/src/admin/TeamsSearch.tsx b/components/dashboard/src/admin/TeamsSearch.tsx index 33230c5da35521..d9ef830ce4695a 100644 --- a/components/dashboard/src/admin/TeamsSearch.tsx +++ b/components/dashboard/src/admin/TeamsSearch.tsx @@ -98,7 +98,7 @@ export function TeamsSearch() { placeholder="Search Teams" onKeyDown={(k) => k.key === "Enter" && search()} onChange={(v) => { - setSearchTerm(v.target.value.trim()); + setSearchTerm(v.target.value.trim().replace(/-/g, " ")); }} />