Skip to content

Commit 02f8333

Browse files
authored
Merge pull request #80 from LaleMuc/Readme-Configuration-Fix-0.6.0
Fix Readme configuration section for Router instance 0.6.0
2 parents 754d1cd + 7d5b1d8 commit 02f8333

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ After you've initialized your store, create an instance of `Router`, passing in
6161

6262
```swift
6363
router = Router(store: mainStore, rootRoutable: RootRoutable(routable: rootViewController)) { state in
64-
state.navigationState
64+
state.select { $0.navigationState }
6565
}
6666
```
6767

0 commit comments

Comments
 (0)