diff --git a/apps/jurumarble/src/app/search/components/DrinkVoteList.tsx b/apps/jurumarble/src/app/search/components/DrinkVoteList.tsx index 018209a2..5eafee07 100644 --- a/apps/jurumarble/src/app/search/components/DrinkVoteList.tsx +++ b/apps/jurumarble/src/app/search/components/DrinkVoteList.tsx @@ -11,7 +11,6 @@ interface Props { isSelectedTab: boolean; onToggleReplaceLoginPageModal: () => void; } - function DrinkVoteList({ searchText, sortOption, @@ -23,16 +22,14 @@ function DrinkVoteList({ const { voteDrinkList, subscribe } = useVoteDrinkService({ page: 0, - size: 10, + size: 3, keyword: searchText, region: regionOption, sortBy: sortOption, }); - if (!voteDrinkList) { return <>; } - return ( {voteDrinkList.map((voteDrink, index) => ( @@ -46,12 +43,10 @@ function DrinkVoteList({ ); } - const Container = styled.div` display: flex; flex-direction: column; margin-top: 24px; gap: 8px; `; - export default DrinkVoteList;