summaryrefslogtreecommitdiff
path: root/components/tech-vendors/tech-vendor-container.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'components/tech-vendors/tech-vendor-container.tsx')
-rw-r--r--components/tech-vendors/tech-vendor-container.tsx30
1 files changed, 15 insertions, 15 deletions
diff --git a/components/tech-vendors/tech-vendor-container.tsx b/components/tech-vendors/tech-vendor-container.tsx
index af5169b8..94536702 100644
--- a/components/tech-vendors/tech-vendor-container.tsx
+++ b/components/tech-vendors/tech-vendor-container.tsx
@@ -40,20 +40,20 @@ export function TechVendorContainer({
// URL에서 현재 선택된 벤더 타입 가져오기
const vendorType = searchParams.get("vendorType") || "all"
- // 선택한 벤더 타입에 해당하는 이름 찾기
- const selectedVendor = vendorTypes.find((vendor) => vendor.id === vendorType)?.name || "전체"
+ // // 선택한 벤더 타입에 해당하는 이름 찾기
+ // const selectedVendor = vendorTypes.find((vendor) => vendor.id === vendorType)?.name || "전체"
- // 벤더 타입 변경 핸들러
- const handleVendorTypeChange = React.useCallback((value: string) => {
- const params = new URLSearchParams(searchParams.toString())
- if (value === "all") {
- params.delete("vendorType")
- } else {
- params.set("vendorType", value)
- }
+ // // 벤더 타입 변경 핸들러
+ // const handleVendorTypeChange = React.useCallback((value: string) => {
+ // const params = new URLSearchParams(searchParams.toString())
+ // if (value === "all") {
+ // params.delete("vendorType")
+ // } else {
+ // params.set("vendorType", value)
+ // }
- router.push(`${pathname}?${params.toString()}`)
- }, [router, pathname, searchParams])
+ // router.push(`${pathname}?${params.toString()}`)
+ // }, [router, pathname, searchParams])
return (
<>
@@ -62,7 +62,7 @@ export function TechVendorContainer({
{/* 왼쪽: 타이틀 & 설명 */}
<div>
<div className="flex items-center gap-2">
- <h2 className="text-2xl font-bold tracking-tight">기술영업 벤더 관리</h2>
+ <h2 className="text-2xl font-bold tracking-tight">기술영업 벤더 리스트</h2>
<InformationButton pagePath="evcp/tech-vendors" />
</div>
{/* <p className="text-muted-foreground">
@@ -70,7 +70,7 @@ export function TechVendorContainer({
</p> */}
</div>
- {/* 오른쪽: 벤더 타입 드롭다운 */}
+ {/* 오른쪽: 벤더 타입 드롭다운
<DropdownMenu>
<DropdownMenuTrigger asChild>
<Button variant="outline" className="min-w-[150px]">
@@ -89,7 +89,7 @@ export function TechVendorContainer({
</DropdownMenuItem>
))}
</DropdownMenuContent>
- </DropdownMenu>
+ </DropdownMenu> */}
</div>
{/* 컨텐츠 영역 */}