Skip to content

Commit

Permalink
typo in README
Browse files Browse the repository at this point in the history
  • Loading branch information
Emilios1995 committed Mar 2, 2016
1 parent 9f43911 commit 19cd525
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ You also can do many other interesting things from here, like saving an history

**4. Update your component on focus**
I'm doing it on `componentDidUpdate` of my component of the route named `payment`.
If `global.currentRoute` is `payment` and the previous `global.currentRoute` was different, than the component has just been focused.
If `global.currentRoute` is `payment` and the previous `global.currentRoute` was different, then the component has just been focused.
```javascript
componentDidUpdate(prevProps) {
const prevRoute = prevProps.global.currentRoute
Expand Down

0 comments on commit 19cd525

Please sign in to comment.