diff --git a/src/components/common/Search.tsx b/src/components/common/Search.tsx index f3fe805..1cd1d5d 100644 --- a/src/components/common/Search.tsx +++ b/src/components/common/Search.tsx @@ -6,6 +6,8 @@ interface SearchProps { onKeywordChange: (keyword: string) => void; } +// 테스트 주석 +// 들어가세요 const Search = ({ placeholder, onKeywordChange }: SearchProps) => { const [value, setValue] = useState(''); const [isFocused, setIsFocused] = useState(false); diff --git a/src/pages/products/hooks/useProducts.ts b/src/pages/products/hooks/useProducts.ts index ac313c5..ac1954b 100644 --- a/src/pages/products/hooks/useProducts.ts +++ b/src/pages/products/hooks/useProducts.ts @@ -2,7 +2,8 @@ import { useState, useEffect } from 'react'; import type { ProductProps, ProductsPrams } from '@/types/product'; import { productListApi } from '@/api/product/productListApi'; -// useProducts +// 라라라라라랄라라라라라 +//안심심한데여 export function useProducts({ page, pageSize, diff --git a/src/pages/products/module/filter/Filter.tsx b/src/pages/products/module/filter/Filter.tsx index 7c428ec..f98ff92 100644 --- a/src/pages/products/module/filter/Filter.tsx +++ b/src/pages/products/module/filter/Filter.tsx @@ -13,7 +13,7 @@ interface FilterProps { order: 'recent' | 'favorite'; onKeywordChange: (keyword: string) => void; } - +// 테스트 주석 const Filter = ({ onOrderChange, onKeywordChange, order }: FilterProps) => { return (
diff --git a/src/pages/products/module/general-produc-list/GeneralProductList.tsx b/src/pages/products/module/general-produc-list/GeneralProductList.tsx index 0bb7d17..4f2de17 100644 --- a/src/pages/products/module/general-produc-list/GeneralProductList.tsx +++ b/src/pages/products/module/general-produc-list/GeneralProductList.tsx @@ -17,7 +17,7 @@ const GeneralProductList = () => { keyword: debouncedKeyword, }); - // 여기는 디바운스에요 + // 여기는 디바운스에요~~~ useEffect(() => { const timer = setTimeout(() => { setDebouncedKeyword(keyword);