diff --git a/Sources/ComposableArchitecture/Documentation.docc/Articles/MigrationGuides/MigratingTo1.7.md b/Sources/ComposableArchitecture/Documentation.docc/Articles/MigrationGuides/MigratingTo1.7.md index 91cb587577f1..4ff518c2df66 100644 --- a/Sources/ComposableArchitecture/Documentation.docc/Articles/MigrationGuides/MigratingTo1.7.md +++ b/Sources/ComposableArchitecture/Documentation.docc/Articles/MigrationGuides/MigratingTo1.7.md @@ -173,7 +173,7 @@ IfLetStore(store: store.scope(state: \.child, action: \.child)) { childStore in This can now be updated to use plain `if let` syntax with ``Store/scope(state:action:)-36e72``: ```swift -if let childStore = store.scope(state: \.child, action: \.child)) { +if let childStore = store.scope(state: \.child, action: \.child) { ChildView(store: childStore) } else { Text("Nothing to show")