From 0a9a60ea0b683bd47303b0bc38fe12ef0a2cfea5 Mon Sep 17 00:00:00 2001 From: gunshiz Date: Fri, 25 Sep 2026 16:08:52 +0700 Subject: [PATCH] refactor(team-search) : use search target select --- components/public/team-search.tsx | 64 ++++++++++++++++++------------- 1 file changed, 38 insertions(+), 26 deletions(-) diff --git a/components/public/team-search.tsx b/components/public/team-search.tsx index df309fd..68e4168 100644 --- a/components/public/team-search.tsx +++ b/components/public/team-search.tsx @@ -14,6 +14,14 @@ import { Badge } from "@/components/ui/badge"; import { Card, CardAction, CardContent, CardDescription, CardHeader, CardTitle } from "@/components/ui/card"; import { Input } from "@/components/ui/input"; import { Kbd } from "@/components/ui/kbd"; +import { + Select, + SelectContent, + SelectGroup, + SelectItem, + SelectTrigger, + SelectValue, +} from "@/components/ui/select"; import { Separator } from "@/components/ui/separator"; import { ToggleGroup, ToggleGroupItem } from "@/components/ui/toggle-group"; import { elementBackgroundColor } from "@/lib/catalog/element"; @@ -411,33 +419,37 @@ export function TeamSearch({ groups }: { groups: PublicGuide["teamGroups"] }) { ) : null} {activeGroup?.note ?

{activeGroup.note}

: null} -
-