Skip to content

Commit def498c

Browse files
committed
A few fixes in docs
1 parent 8a2520e commit def498c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ $ ./node_modules/.bin/topcoder-lib-setup
6565
install and upgrade **topcoder-react-utils** and other similar libraries.
6666

6767
### Redux Templates
68-
- [**item**](docs/redux-item.md) — An async piece of data in Redux store.
68+
- [**Item**](docs/redux-item.md) — An async piece of data in Redux store.
6969

7070
### Utilities
7171
- [**Client**](docs/client.md) — Client-side initialization code.

docs/redux-item.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ Our solution for this problem comes in two pieces:
5757
- Update reference counter;
5858
- Remove stale data with no references to them.
5959

60-
### Example
60+
### Tutorial
6161

6262
Say, you want to add `myData` segment to your Redux store, using **item**
6363
actions / reducers. You want multiple ReactJS containers rely on this segment,
@@ -132,7 +132,7 @@ function create(initialState = itemReducer(undefined, '@@INIT')) {
132132
[a.getDone]: onGetDone,
133133
[a.updateReferenceCounter]:
134134
redux.proxyReducer(itemReducer, itemActions.updateReferenceCounter),
135-
});
135+
}, initialState);
136136
}
137137

138138
/**

0 commit comments

Comments
 (0)