Skip to content

Commit 2bc1a1d

Browse files
committed
Merge pull request reduxjs#553 from sapegin/patch-2
isLoading → isFetching
2 parents 6d6fdc9 + 7ce2bb9 commit 2bc1a1d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/recipes/ReducingBoilerplate.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ class Posts extends Component {
215215
}
216216

217217
render() {
218-
if (this.props.isLoading) {
218+
if (this.props.isFetching) {
219219
return <p>Loading...</p>;
220220
}
221221

@@ -297,7 +297,7 @@ class Posts extends Component {
297297
}
298298

299299
render() {
300-
if (this.props.isLoading) {
300+
if (this.props.isFetching) {
301301
return <p>Loading...</p>;
302302
}
303303

0 commit comments

Comments
 (0)