Skip to content

Commit e02650c

Browse files
committed
refactor: 화면 소유 Store 생명주기 정리
1 parent 0ab54be commit e02650c

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

Application/DevLogPresentation/Sources/Search/SearchView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ struct SearchView: View {
1414
@Environment(\.dismiss) private var dismiss
1515
@Environment(\.diContainer) private var container: DIContainer
1616
@State private var router = NavigationRouter<Path>()
17-
@Bindable var store: StoreOf<SearchFeature>
17+
@State var store: StoreOf<SearchFeature>
1818

1919
var body: some View {
2020
NavigationStack(path: $router.path) {

Application/DevLogPresentation/Sources/Settings/AccountView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import ComposableArchitecture
1010
import DevLogDomain
1111

1212
struct AccountView: View {
13-
@Bindable var store: StoreOf<AccountFeature>
13+
@State var store: StoreOf<AccountFeature>
1414

1515
var body: some View {
1616
List {

Application/DevLogPresentation/Sources/Settings/PushNotificationSettingsView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import SwiftUI
99
import ComposableArchitecture
1010

1111
struct PushNotificationSettingsView: View {
12-
@Bindable var store: StoreOf<PushNotificationSettingsFeature>
12+
@State var store: StoreOf<PushNotificationSettingsFeature>
1313

1414
var body: some View {
1515
List {

0 commit comments

Comments
 (0)