feat(event): ID 기반 이벤트 상세 API를 연동한다
This commit is contained in:
@@ -103,7 +103,7 @@ private struct ContentMainBannerPage: View {
|
||||
.onTapGesture {
|
||||
switch item.type {
|
||||
case .EVENT:
|
||||
AppState.shared.setAppStep(step: .eventDetail(event: item.eventItem!))
|
||||
AppState.shared.setAppStep(step: .eventDetail(eventId: item.eventItem!.id))
|
||||
case .CREATOR:
|
||||
AppState.shared.setAppStep(step: .creatorDetail(userId: item.creatorId!))
|
||||
case .SERIES:
|
||||
|
||||
@@ -126,7 +126,7 @@ struct ContentMainBannerImageView: View {
|
||||
.onTapGesture {
|
||||
switch item.type {
|
||||
case .EVENT:
|
||||
AppState.shared.setAppStep(step: .eventDetail(event: item.eventItem!))
|
||||
AppState.shared.setAppStep(step: .eventDetail(eventId: item.eventItem!.id))
|
||||
case .CREATOR:
|
||||
AppState.shared.setAppStep(step: .creatorDetail(userId: item.creatorId!))
|
||||
case .SERIES:
|
||||
|
||||
Reference in New Issue
Block a user