From bc166ecae92ee65e241fa1918f5d420152e4f30f Mon Sep 17 00:00:00 2001 From: sjsjmine129 Date: Sun, 26 May 2024 20:58:46 +0900 Subject: [PATCH] Add/basic sort --- src/components/StoreCompo.js | 4 ++-- src/screens/list/ListMainScreen.js | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/components/StoreCompo.js b/src/components/StoreCompo.js index 2f70fe4..490c843 100644 --- a/src/components/StoreCompo.js +++ b/src/components/StoreCompo.js @@ -153,7 +153,7 @@ export default function StoreCompo(props) { fontSize: 11, color: COLOR_TEXT70GRAY, }}> - {storeData.firstReview.reviewer + ' 님'} + {storeData.representativeReviewContent.reviewer + ' 님'} - {storeData.firstReview.body} + {storeData.representativeReviewContent.body} ) : ( diff --git a/src/screens/list/ListMainScreen.js b/src/screens/list/ListMainScreen.js index 3eb3eb1..5db0ff7 100644 --- a/src/screens/list/ListMainScreen.js +++ b/src/screens/list/ListMainScreen.js @@ -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();