Skip to content

Commit

Permalink
chore: drink list size 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
Leejha committed Mar 18, 2024
1 parent 2d86f1a commit 234e6e5
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions apps/jurumarble/src/app/search/components/DrinkVoteList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ interface Props {
isSelectedTab: boolean;
onToggleReplaceLoginPageModal: () => void;
}

function DrinkVoteList({
searchText,
sortOption,
Expand All @@ -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 (
<Container>
{voteDrinkList.map((voteDrink, index) => (
Expand All @@ -46,12 +43,10 @@ function DrinkVoteList({
</Container>
);
}

const Container = styled.div`
display: flex;
flex-direction: column;
margin-top: 24px;
gap: 8px;
`;

export default DrinkVoteList;

0 comments on commit 234e6e5

Please sign in to comment.