feat(home): 보온 주간 차트 콘텐츠 정렬 기준 추가
- 매출, 판매량, 댓글 수, 좋아요 수
This commit is contained in:
@@ -251,8 +251,8 @@ struct HomeTabView: View {
|
||||
)
|
||||
}
|
||||
|
||||
if !viewModel.contentRanking.isEmpty {
|
||||
HomeWeeklyChartView(contentList: viewModel.contentRanking)
|
||||
HomeWeeklyChartView(contentList: viewModel.contentRanking) {
|
||||
viewModel.getContentRankingBySort(sort: $0)
|
||||
}
|
||||
|
||||
if !viewModel.recommendChannelList.isEmpty {
|
||||
|
||||
Reference in New Issue
Block a user