Skip to content

Commit 7d5b1d8

Browse files
committed
Fix Readme configuration section for Router instance 0.6.0
The configuration section of the readme contained out-dated (in 0.6.0) code example on how to create an instance of Router
1 parent 754d1cd commit 7d5b1d8

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)