Skip to content

Commit fcd4729

Browse files
committed
refactor: Bindable 적용
1 parent e3c80b5 commit fcd4729

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

Application/DevLogPresentation/Sources/Home/Detail/TodoDetailView.swift

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,7 @@ struct TodoDetailView: View {
1414
@Environment(\.diContainer) private var container: DIContainer
1515
@Environment(\.openWindow) private var openWindow
1616
@Environment(\.isiOSAppOnMac) private var isiOSAppOnMac
17-
@State private var store: StoreOf<TodoDetailFeature>
18-
19-
init(store: StoreOf<TodoDetailFeature>) {
20-
self._store = State(initialValue: store)
21-
}
17+
@Bindable var store: StoreOf<TodoDetailFeature>
2218

2319
var body: some View {
2420
ZStack {

0 commit comments

Comments
 (0)