Skip to content

Commit 30ab89d

Browse files
authored
fix syntax error (#2731)
1 parent fd49eb2 commit 30ab89d

File tree

1 file changed

+1
-1
lines changed
  • Sources/ComposableArchitecture/Documentation.docc/Articles/MigrationGuides

1 file changed

+1
-1
lines changed

Sources/ComposableArchitecture/Documentation.docc/Articles/MigrationGuides/MigratingTo1.7.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ IfLetStore(store: store.scope(state: \.child, action: \.child)) { childStore in
173173
This can now be updated to use plain `if let` syntax with ``Store/scope(state:action:)-36e72``:
174174

175175
```swift
176-
if let childStore = store.scope(state: \.child, action: \.child)) {
176+
if let childStore = store.scope(state: \.child, action: \.child) {
177177
ChildView(store: childStore)
178178
} else {
179179
Text("Nothing to show")

0 commit comments

Comments
 (0)