From 1375cc9c812817ef2bb10cb835eb1dd82b806d47 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B9=80=EB=8F=84=ED=98=95?= <108233361+ShapeKim98@users.noreply.github.com> Date: Mon, 18 Nov 2024 17:02:25 +0900 Subject: [PATCH] =?UTF-8?q?[fix]=20#152=20=ED=94=BC=EB=93=9C=EB=B0=B1=20?= =?UTF-8?q?=EB=B0=98=EC=98=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Projects/App/ShareExtension/Sources/ShareRootFeature.swift | 1 - .../FeatureCategoryDetail/Sources/CategoryDetailView.swift | 2 +- .../Sources/CategorySharing/CategorySharingView.swift | 2 +- .../Sources/ContentCard/ContentCardFeature.swift | 1 - .../Sources/ContentList/ContentListFeature.swift | 1 - .../Sources/ContentList/ContentListView.swift | 2 +- Projects/Feature/FeaturePokit/Sources/PokitRootView.swift | 2 +- .../Feature/FeatureSetting/Sources/Search/PokitSearchView.swift | 2 +- 8 files changed, 5 insertions(+), 8 deletions(-) diff --git a/Projects/App/ShareExtension/Sources/ShareRootFeature.swift b/Projects/App/ShareExtension/Sources/ShareRootFeature.swift index 7e9b13aa..b63b2e44 100644 --- a/Projects/App/ShareExtension/Sources/ShareRootFeature.swift +++ b/Projects/App/ShareExtension/Sources/ShareRootFeature.swift @@ -200,7 +200,6 @@ struct ShareRootFeature { .ifLet(\.intro, action: \.intro) { IntroFeature() } .ifLet(\.contentSetting, action: \.contentSetting) { ContentSettingFeature() } .forEach(\.path, action: \.path) - ._printChanges() } } diff --git a/Projects/Feature/FeatureCategoryDetail/Sources/CategoryDetailView.swift b/Projects/Feature/FeatureCategoryDetail/Sources/CategoryDetailView.swift index d1015c9e..5a066f7e 100644 --- a/Projects/Feature/FeatureCategoryDetail/Sources/CategoryDetailView.swift +++ b/Projects/Feature/FeatureCategoryDetail/Sources/CategoryDetailView.swift @@ -152,7 +152,7 @@ private extension CategoryDetailView { } else { ScrollView(showsIndicators: false) { LazyVStack(spacing: 0) { - ForEachStore( + ForEach( store.scope(state: \.contents, action: \.contents) ) { store in let isFirst = store.state.id == self.store.contents.first?.id diff --git a/Projects/Feature/FeatureCategorySharing/Sources/CategorySharing/CategorySharingView.swift b/Projects/Feature/FeatureCategorySharing/Sources/CategorySharing/CategorySharingView.swift index 3c9aec90..53e2844f 100644 --- a/Projects/Feature/FeatureCategorySharing/Sources/CategorySharing/CategorySharingView.swift +++ b/Projects/Feature/FeatureCategorySharing/Sources/CategorySharing/CategorySharingView.swift @@ -103,7 +103,7 @@ private extension CategorySharingView { } else { ScrollView(showsIndicators: false) { LazyVStack(spacing: 0) { - ForEachStore( + ForEach( store.scope(state: \.contents, action: \.contents) ) { store in let isFirst = store.state.id == self.store.contents.first?.id diff --git a/Projects/Feature/FeatureContentCard/Sources/ContentCard/ContentCardFeature.swift b/Projects/Feature/FeatureContentCard/Sources/ContentCard/ContentCardFeature.swift index 16f9eb9b..e2480df9 100644 --- a/Projects/Feature/FeatureContentCard/Sources/ContentCard/ContentCardFeature.swift +++ b/Projects/Feature/FeatureContentCard/Sources/ContentCard/ContentCardFeature.swift @@ -89,7 +89,6 @@ public struct ContentCardFeature { /// - Reducer body public var body: some ReducerOf { Reduce(self.core) - ._printChanges() } } //MARK: - FeatureAction Effect diff --git a/Projects/Feature/FeatureContentList/Sources/ContentList/ContentListFeature.swift b/Projects/Feature/FeatureContentList/Sources/ContentList/ContentListFeature.swift index 56e5ae18..dfbf0c2d 100644 --- a/Projects/Feature/FeatureContentList/Sources/ContentList/ContentListFeature.swift +++ b/Projects/Feature/FeatureContentList/Sources/ContentList/ContentListFeature.swift @@ -151,7 +151,6 @@ public struct ContentListFeature { .forEach(\.contents, action: \.contents) { ContentCardFeature() } - ._printChanges() } } //MARK: - FeatureAction Effect diff --git a/Projects/Feature/FeatureContentList/Sources/ContentList/ContentListView.swift b/Projects/Feature/FeatureContentList/Sources/ContentList/ContentListView.swift index 533c73a5..e38a4713 100644 --- a/Projects/Feature/FeatureContentList/Sources/ContentList/ContentListView.swift +++ b/Projects/Feature/FeatureContentList/Sources/ContentList/ContentListView.swift @@ -100,7 +100,7 @@ private extension ContentListView { } else { ScrollView { LazyVStack(spacing: 0) { - ForEachStore( + ForEach( store.scope(state: \.contents, action: \.contents) ) { store in let isFirst = store.state.id == self.store.contents.first?.id diff --git a/Projects/Feature/FeaturePokit/Sources/PokitRootView.swift b/Projects/Feature/FeaturePokit/Sources/PokitRootView.swift index 44d43779..912b10fb 100644 --- a/Projects/Feature/FeaturePokit/Sources/PokitRootView.swift +++ b/Projects/Feature/FeaturePokit/Sources/PokitRootView.swift @@ -191,7 +191,7 @@ private extension PokitRootView { var unclassifiedList: some View { ScrollView { LazyVStack(spacing: 0) { - ForEachStore( + ForEach( store.scope(state: \.contents, action: \.contents) ) { store in let isFirst = store.state.id == self.store.contents.first?.id diff --git a/Projects/Feature/FeatureSetting/Sources/Search/PokitSearchView.swift b/Projects/Feature/FeatureSetting/Sources/Search/PokitSearchView.swift index 456a3579..e0938d6e 100644 --- a/Projects/Feature/FeatureSetting/Sources/Search/PokitSearchView.swift +++ b/Projects/Feature/FeatureSetting/Sources/Search/PokitSearchView.swift @@ -294,7 +294,7 @@ private extension PokitSearchView { if !store.isLoading { ScrollView { LazyVStack(spacing: 0) { - ForEachStore( + ForEach( store.scope(state: \.contents, action: \.contents) ) { store in let isFirst = store.state.id == self.store.contents.first?.id