From 19cd5254c40cd606302027c170b515ae6889fd03 Mon Sep 17 00:00:00 2001 From: Emilio Srougo Date: Tue, 1 Mar 2016 23:41:26 -0600 Subject: [PATCH] typo in README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index fa97053fa..a742b1e9f 100644 --- a/README.md +++ b/README.md @@ -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