fix(main): 추천 커뮤니티 상세로 이동한다

This commit is contained in:
Yu Sung
2026-07-10 13:04:06 +09:00
parent 5213f0d98d
commit ce191539f2
8 changed files with 103 additions and 21 deletions

View File

@@ -8,7 +8,7 @@ struct MainHomeView: View {
let onTapCreator: (Int) -> Void
let onTapContent: (Int) -> Void
let onTapCharacter: (Int) -> Void
let onTapCommunity: (Int) -> Void
let onTapCommunityPost: (Int) -> Void
let onTapBanner: (RecommendationBannerResponse) -> Void
let onTapFollowAll: (@escaping () -> Void) -> Void
let onSelectFollowingTab: () -> Bool
@@ -69,7 +69,7 @@ struct MainHomeView: View {
onTapCreator: onTapCreator,
onTapContent: onTapContent,
onTapCharacter: onTapCharacter,
onTapCommunity: onTapCommunity,
onTapCommunityPost: onTapCommunityPost,
onTapBanner: onTapBanner,
onTapFollowAll: onTapFollowAll
)
@@ -117,7 +117,7 @@ struct MainHomeView_Previews: PreviewProvider {
onTapCreator: { _ in },
onTapContent: { _ in },
onTapCharacter: { _ in },
onTapCommunity: { _ in },
onTapCommunityPost: { _ in },
onTapBanner: { _ in },
onTapFollowAll: { action in action() },
onSelectFollowingTab: { true },