Skip to content

Commit

Permalink
Fixed typo in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Lukasz-pluszczewski committed Aug 3, 2017
1 parent 1f378f5 commit f927f2c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ Now 'ACTION_SUCCESS' action would be triggered only if `promise` action resolves
#### Registering global hooks
Instead of adding hooks to each action you can add global ones in `hooks` field of a second argument of middlewareCreator:
```javascript
import createReduxPromise, { reduxPromiseActionTypes } from 'redux-better-promise';
import createReduxPromise, { actionTypes: reduxPromiseActionTypes } from 'redux-better-promise';

const store = createStore(
rootReducer,
Expand Down
3 changes: 3 additions & 0 deletions docs/whatsnew.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#### 0.1.2
* Updated readme

#### 0.1.1
* Updated readme

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "redux-better-promise",
"version": "0.1.1",
"version": "0.1.2",
"description": "Simple and powerful redux middleware that supports async side-effects (and much more)",
"repository": {
"type": "git",
Expand Down

0 comments on commit f927f2c

Please sign in to comment.