From 30ab89daa4e392ecd2150f737c42dbb2336bbc04 Mon Sep 17 00:00:00 2001 From: Ryu <87907656+Ryu0118@users.noreply.github.com> Date: Mon, 29 Jan 2024 03:22:09 +0900 Subject: [PATCH] fix syntax error (#2731) --- .../Articles/MigrationGuides/MigratingTo1.7.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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")