From 2f97dccd9e373ff2d9846bc0fa16e9d6c1119a5d Mon Sep 17 00:00:00 2001 From: beom Date: Fri, 15 Nov 2024 15:28:51 +0900 Subject: [PATCH] =?UTF-8?q?feat(page):=20=EB=8D=B0=EC=9D=B4=ED=84=B0=20?= =?UTF-8?q?=EC=97=86=EC=9D=84=EB=95=8C=20UI=20=EC=B2=98=EB=A6=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/SearchResults/index.tsx | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/src/pages/SearchResults/index.tsx b/src/pages/SearchResults/index.tsx index dddb111..abdec32 100644 --- a/src/pages/SearchResults/index.tsx +++ b/src/pages/SearchResults/index.tsx @@ -57,20 +57,28 @@ const SearchResultsContent = () => { 작품 ({searchProductLen}) - - - handleTabClick('작품')}> 더보기 - + {searchProductLen === 0 ? ( +
데이터가 없습니다.
+ ) : ( + + + handleTabClick('작품')}> 더보기 + + )}
작가 ({searchArtistLen}) - - - handleTabClick('작가')}> 더보기 - + {searchArtistLen === 0 ? ( +
데이터가 없습니다.
+ ) : ( + + + handleTabClick('작가')}> 더보기 + + )}
)}