feat(home): 응원 크리에이터 섹션을 연결한다

This commit is contained in:
Yu Sung
2026-06-29 21:18:04 +09:00
parent 2727cdc7cb
commit 007d63c0cd
4 changed files with 92 additions and 5 deletions

View File

@@ -60,6 +60,21 @@ struct MainHomeRecommendationView: View {
}
}
)
MainHomeCheerCreatorSection(
items: viewModel.recommendations?.cheerCreators ?? [],
isFollowAllCompleted: viewModel.isFollowAllCompleted("cheer"),
isFollowAllLoading: viewModel.isFollowAllLoading("cheer"),
onTapCreator: onTapCreator,
onTapFollowAll: {
onTapFollowAll {
viewModel.followAll(
creatorIds: viewModel.recommendations?.cheerCreators.map(\.creatorId) ?? [],
completionKey: "cheer"
)
}
}
)
}
.padding(.vertical, SodaSpacing.s20)
}