fix(home): AI 캐릭터 탭 이동을 맞춘다

This commit is contained in:
Yu Sung
2026-07-03 18:31:31 +09:00
parent 37c34ae91e
commit 2b9018f9cb
2 changed files with 2 additions and 9 deletions

View File

@@ -21,7 +21,7 @@ struct MainHomeAiCharacterSection: View {
LazyHStack(alignment: .center, spacing: SodaSpacing.s4) {
ForEach(items, id: \.self) { item in
Button {
onTapCharacter(item.characterId)
onTapCharacter(item.creatorId)
} label: {
AiCharacterCard(
name: item.name,

View File

@@ -160,7 +160,7 @@ struct MainView: View {
onTapLive: handleRecommendationLiveTap,
onTapCreator: handleRecommendationCreatorTap,
onTapContent: handleRecommendationContentTap,
onTapCharacter: handleRecommendationCharacterTap,
onTapCharacter: handleRecommendationCreatorTap,
onTapCommunity: handleRecommendationCommunityTap,
onTapBanner: handleRecommendationBannerTap,
onTapFollowAll: handleRecommendationFollowAllTap,
@@ -472,13 +472,6 @@ struct MainView: View {
}
}
private func handleRecommendationCharacterTap(characterId: Int) {
guard characterId > 0 else { return }
performRecommendationDetailAction {
appState.setAppStep(step: .characterDetail(characterId: characterId))
}
}
private func handleRecommendationCommunityTap(creatorId: Int) {
guard creatorId > 0 else { return }
performRecommendationDetailAction {