diff options
| author | dujinkim <dujin.kim@dtsolution.co.kr> | 2025-07-24 11:06:32 +0000 |
|---|---|---|
| committer | dujinkim <dujin.kim@dtsolution.co.kr> | 2025-07-24 11:06:32 +0000 |
| commit | 1dc24d48e52f2e490f5603ceb02842586ecae533 (patch) | |
| tree | 8fca2c5b5b52cc10557b5ba6e55b937ae3c57cf6 /components/items-tech/item-tech-container.tsx | |
| parent | ed0d6fcc98f671280c2ccde797b50693da88152e (diff) | |
(대표님) 정기평가 피드백 반영, 설계 피드백 반영, (최겸) 기술영업 피드백 반영
Diffstat (limited to 'components/items-tech/item-tech-container.tsx')
| -rw-r--r-- | components/items-tech/item-tech-container.tsx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/components/items-tech/item-tech-container.tsx b/components/items-tech/item-tech-container.tsx index dedec70b..65e4ac93 100644 --- a/components/items-tech/item-tech-container.tsx +++ b/components/items-tech/item-tech-container.tsx @@ -44,11 +44,11 @@ export function ItemTechContainer({ // 아이템 타입 변경 핸들러
const handleItemTypeChange = React.useCallback((value: string) => {
- const params = new URLSearchParams(searchParams.toString())
- params.set("type", value)
-
- router.push(`${pathname}?${params.toString()}`)
- }, [router, pathname, searchParams])
+ // 기존 파라미터 무시, type만 세팅
+ const params = new URLSearchParams();
+ params.set("type", value);
+ router.push(`${pathname}?${params.toString()}`);
+ }, [router, pathname]);
return (
<>
|
