diff --git a/SodaLive/Sources/Content/Main/NewContent/ContentMainNewContentView.swift b/SodaLive/Sources/Content/Main/NewContent/ContentMainNewContentView.swift index cf6de24..8911393 100644 --- a/SodaLive/Sources/Content/Main/NewContent/ContentMainNewContentView.swift +++ b/SodaLive/Sources/Content/Main/NewContent/ContentMainNewContentView.swift @@ -12,7 +12,7 @@ struct ContentMainNewContentView: View { @StateObject private var viewModel = ContentMainNewContentViewModel() var body: some View { - VStack(spacing: 16.7) { + LazyVStack(spacing: 16.7) { HStack(spacing: 0) { Text("새로운 콘텐츠") .font(.custom(Font.bold.rawValue, size: 18.3)) diff --git a/SodaLive/Sources/Content/Main/NewContent/ContentMainNewContentViewModel.swift b/SodaLive/Sources/Content/Main/NewContent/ContentMainNewContentViewModel.swift index 0a9343e..d76dcba 100644 --- a/SodaLive/Sources/Content/Main/NewContent/ContentMainNewContentViewModel.swift +++ b/SodaLive/Sources/Content/Main/NewContent/ContentMainNewContentViewModel.swift @@ -44,6 +44,7 @@ final class ContentMainNewContentViewModel: ObservableObject { let decoded = try jsonDecoder.decode(ApiResponse<[String]>.self, from: responseData) if let data = decoded.data, decoded.success { + self.themeList.removeAll() self.themeList.append("전체") self.themeList.append(contentsOf: data) } else { diff --git a/SodaLive/Sources/Content/Main/Ranking/ContentMainRankingView.swift b/SodaLive/Sources/Content/Main/Ranking/ContentMainRankingView.swift index 97d98f9..31d13d0 100644 --- a/SodaLive/Sources/Content/Main/Ranking/ContentMainRankingView.swift +++ b/SodaLive/Sources/Content/Main/Ranking/ContentMainRankingView.swift @@ -19,7 +19,7 @@ struct ContentMainRankingView: View { ] var body: some View { - VStack(spacing: 16.7) { + LazyVStack(spacing: 16.7) { HStack(spacing: 0) { Text("인기 콘텐츠") .font(.custom(Font.bold.rawValue, size: 18.3))