fix: 메인 라이브

- 안 쓰는 이벤트 코드 제거
This commit is contained in:
Yu Sung
2025-07-22 02:08:15 +09:00
parent 9f39f24da8
commit 15adbfe781
2 changed files with 11 additions and 36 deletions

View File

@@ -73,14 +73,6 @@ struct LiveView: View {
}
)
if viewModel.communityPostItems.count > 0 {
SectionCommunityPostView(items: viewModel.communityPostItems)
}
if viewModel.recommendLiveItems.count > 0 {
SectionRecommendLiveView(items: viewModel.recommendLiveItems)
}
if viewModel.recommendChannelItems.count > 0 {
SectionRecommendChannelView(
items: viewModel.isFollowingList ?
@@ -90,6 +82,14 @@ struct LiveView: View {
)
}
if viewModel.communityPostItems.count > 0 {
SectionCommunityPostView(items: viewModel.communityPostItems)
}
if viewModel.recommendLiveItems.count > 0 {
SectionRecommendLiveView(items: viewModel.recommendLiveItems)
}
SectionLiveReservationView(
items: viewModel.liveReservationItems,
onClickCancel: { viewModel.getSummary() },