Skip to content

Commit d019f11

Browse files
koalextimdorr
authored andcommitted
Fix a typo (#2497)
1 parent e9067e6 commit d019f11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/recipes/UsingImmutableJS.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ Smart components that access the store via React Redux’s `connect` function mu
243243

244244
### Never use `toJS()` in `mapStateToProps`
245245

246-
Converting an Immutable.JS object to a JavaScript object using `toJS()` will return a new object every time. If you do this in `mapSateToProps`, you will cause the component to believe that the object has changed every time the state tree changes, and so trigger an unnecessary re-render.
246+
Converting an Immutable.JS object to a JavaScript object using `toJS()` will return a new object every time. If you do this in `mapStateToProps`, you will cause the component to believe that the object has changed every time the state tree changes, and so trigger an unnecessary re-render.
247247

248248
#### Further Information
249249

0 commit comments

Comments
 (0)