Skip to content

Commit 91bac67

Browse files
authored
Fixes wrong file name
The guide is making reference to `containers/VisibleTodoList.js` but it currently says `components/App.js`. This change renames the section to the correct filename.
1 parent e5e608e commit 91bac67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/advanced/UsageWithReactRouter.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ Now if you click on `<FilterLink />` you will see that your URL will change from
172172
## Reading From the URL
173173

174174
Currently, the todo list is not filtered even after the URL changed. This is because we are filtering from `<VisibleTodoList />`'s `mapStateToProps()` is still binded to the `state` and not to the URL. `mapStateToProps` has an optional second argument `ownProps` that is an object with every props passed to `<VisibleTodoList />`
175-
#### `components/App.js`
175+
#### `containers/VisibleTodoList.js`
176176
```js
177177
const mapStateToProps = (state, ownProps) => {
178178
return {

0 commit comments

Comments
 (0)