Skip to content

Commit

Permalink
Add/basic sort
Browse files Browse the repository at this point in the history
  • Loading branch information
sjsjmine129 committed May 26, 2024
1 parent 151856c commit bc166ec
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/StoreCompo.js
Original file line number Diff line number Diff line change
Expand Up @@ -153,15 +153,15 @@ export default function StoreCompo(props) {
fontSize: 11,
color: COLOR_TEXT70GRAY,
}}>
{storeData.firstReview.reviewer + ' 님'}
{storeData.representativeReviewContent.reviewer + ' 님'}
</Text>
<Text
numberOfLines={4}
style={{
fontSize: 11,
color: COLOR_TEXT60GRAY,
}}>
{storeData.firstReview.body}
{storeData.representativeReviewContent.body}
</Text>
</>
) : (
Expand Down
3 changes: 3 additions & 0 deletions src/screens/list/ListMainScreen.js
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,9 @@ export default function ListMainScreen() {
case '찜 많은 순':
params.customSort = 'LIKE_COUNT_DESC';
break;
case '기본 순':
params.customSort = 'BASIC';
break;
}

const queryString = new URLSearchParams(params).toString();
Expand Down

0 comments on commit bc166ec

Please sign in to comment.