diff --git a/src/components/product/Bookmark.tsx b/src/components/product/Bookmark.tsx index e7e84d8..ea80e55 100644 --- a/src/components/product/Bookmark.tsx +++ b/src/components/product/Bookmark.tsx @@ -54,74 +54,73 @@ const Bookmark = ({ content, totalPages, pageNumber }: IProductBuildingProps) => if (isLoading) return
; if (error) return
; return ( -
+
+
+ + + - - - - - -
- 관심종목{' '} - {bookmarks} -
-
-
{ - setCategory('all'); - }} - className={`pb-3 whitespace-nowrap sm:pb-5 cursor-pointer ${category === 'all' || category == null ? ' text-gray700 border-b-2 border-normal ' : 'text-gray300'}`}> - 전체 -
-
{ - setCategory('building'); - }} - className={`pb-3 whitespace-nowrap sm:pb-5 cursor-pointer ${category === 'building' ? ' text-gray700 border-b-2 border-normal ' : 'text-gray300'}`}> - 부동산 +
+ 관심종목{' '} + {bookmarks}
-
{ - setCategory('music'); - }} - className={`pb-3 whitespace-nowrap sm:pb-5 cursor-pointer ${category === 'music' ? ' text-gray700 border-b-2 border-normal ' : 'text-gray300'}`}> - 음악저작권 +
+
{ + setCategory('all'); + }} + className={`pb-3 whitespace-nowrap sm:pb-5 cursor-pointer ${category === 'all' || category == null ? ' text-gray700 border-b-2 border-normal ' : 'text-gray300'}`}> + 전체 +
+
{ + setCategory('building'); + }} + className={`pb-3 whitespace-nowrap sm:pb-5 cursor-pointer ${category === 'building' ? ' text-gray700 border-b-2 border-normal ' : 'text-gray300'}`}> + 부동산 +
+
{ + setCategory('music'); + }} + className={`pb-3 whitespace-nowrap sm:pb-5 cursor-pointer ${category === 'music' ? ' text-gray700 border-b-2 border-normal ' : 'text-gray300'}`}> + 음악저작권 +
+
{ + setCategory('cow'); + }} + className={`pb-3 whitespace-nowrap sm:pb-5 cursor-pointer ${category === 'cow' ? ' text-gray700 border-b-2 border-normal ' : 'text-gray300'}`}> + 한우 +
+
{ + setCategory('art'); + }} + className={`pb-3 whitespace-nowrap sm:pb-5 cursor-pointer ${category === 'art' ? ' text-gray700 border-b-2 border-normal ' : 'text-gray300'}`}> + 미술품 +
+
{ + setCategory('content'); + }} + className={`pb-3 whitespace-nowrap sm:pb-5 cursor-pointer ${category === 'content' ? ' text-gray700 border-b-2 border-normal ' : 'text-gray300'}`}> + 콘텐츠 +
-
{ - setCategory('cow'); - }} - className={`pb-3 whitespace-nowrap sm:pb-5 cursor-pointer ${category === 'cow' ? ' text-gray700 border-b-2 border-normal ' : 'text-gray300'}`}> - 한우 -
-
{ - setCategory('art'); - }} - className={`pb-3 whitespace-nowrap sm:pb-5 cursor-pointer ${category === 'art' ? ' text-gray700 border-b-2 border-normal ' : 'text-gray300'}`}> - 미술품 -
-
{ - setCategory('content'); - }} - className={`pb-3 whitespace-nowrap sm:pb-5 cursor-pointer ${category === 'content' ? ' text-gray700 border-b-2 border-normal ' : 'text-gray300'}`}> - 콘텐츠 -
-
- +