Skip to content

Commit 2e397b2

Browse files
committed
Update README.md
1 parent b858a8f commit 2e397b2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,15 @@ import {bind} from 'angular2/di';
3131
import {createStore, applyMiddleware} from 'redux';
3232
import thunk from 'redux-thunk';
3333
import {App} from './containers/App';
34-
import {provide} from 'ng2-redux';
34+
import {provider} from 'ng2-redux';
3535
import {rootReducer} from './reducers';
3636

3737
const createStoreWithMiddleware = applyMiddleware(thunk)(createStore);
3838
const store = createStoreWithMiddleware(rootReducer);
3939

4040
bootstrap(
4141
App,
42-
[provide(store)]
42+
[provider(store)]
4343
);
4444
```
4545

@@ -73,7 +73,7 @@ class CounterApp {
7373

7474
## API
7575

76-
### `provide(store)`
76+
### `provider(store)`
7777

7878
Provide the Redux store to `connect`.
7979

0 commit comments

Comments
 (0)