File tree Expand file tree Collapse file tree 1 file changed +0
-27
lines changed
Sources/ComposableArchitecture Expand file tree Collapse file tree 1 file changed +0
-27
lines changed Original file line number Diff line number Diff line change @@ -208,30 +208,3 @@ public macro ViewAction<R: Reducer>(for: R.Type) =
208208 #externalMacro(
209209 module: " ComposableArchitectureMacros " , type: " ViewActionMacro "
210210 ) where R. Action: ViewAction
211-
212-
213- @Reducer struct Feature {
214- @ObservableState
215- struct State {
216- @Presents var child : Feature . State ?
217- }
218- enum Action {
219- case child( PresentationAction < Feature . Action > )
220- }
221- }
222- import SwiftUI
223- extension Store : ObservableObject { }
224-
225-
226-
227- @available ( macOS 11 . 0 , * )
228- struct V : View {
229- @StateObject var store = Store ( initialState: Feature . State ( ) ) { Feature ( ) }
230- @State var s2 = Store ( initialState: Feature . State ( ) ) { Feature ( ) }
231- var body : some View {
232- let s = \Feature . State. self
233- let s22 = $s2
234- let tmp = $store. scope ( state: \. child, action: \. child)
235- EmptyView ( )
236- }
237- }
You can’t perform that action at this time.
0 commit comments