Skip to content

Commit a6d6fe9

Browse files
committed
Update README.md
1 parent 4cb7e83 commit a6d6fe9

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,13 +81,14 @@ using decorators:
8181

8282
```js
8383
import { bindActionCreators } from 'redux';
84-
import { connect, provide } from `react-redux';
84+
import { connect, provide } from 'react-redux';
8585

8686
// store setup left out... see the Redux documentation for initializing action creators, reducers and the store.
8787

8888
// Note: you do *not* have to `@provide` every component you `@connect`, but this abritrarily simple example only has
89-
one Smart Component at the top level. A more complete example may have a root level component that is only decorated
90-
with `@provide` and many smart components decorated with `@connect`.
89+
// one Smart Component at the top level. A more complete example may have a root level component that is only decorated
90+
// with `@provide` and many smart components decorated with `@connect`.
91+
9192
@provide(store)
9293
@connect((state) => ({ counter: state.counter }))
9394
class CounterApp {

0 commit comments

Comments
 (0)