diff --git a/src/components/bookSearch/RecentSearchList.tsx b/src/components/bookSearch/RecentSearchList.tsx index 1e9a20ed..5a47ca5f 100644 --- a/src/components/bookSearch/RecentSearchList.tsx +++ b/src/components/bookSearch/RecentSearchList.tsx @@ -9,10 +9,12 @@ type RecentSearchListProps = { }; const RecentSearchList = ({ keywords, onClick }: RecentSearchListProps) => { + const hasKeywords = keywords && keywords?.length !== 0; + return (

최근 검색어

- {keywords ? ( + {hasKeywords ? (