Skip to content

Commit ce064dc

Browse files
committed
Fixed typo in connect docs
* fixes #141, #145
1 parent 850a08c commit ce064dc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/api/connect.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ const fbWrapped = firebaseConnect([
3333
// pass todos list from redux as this.props.todosList
3434
export default connect(({ firebase }) => ({
3535
todosList: dataToJS(firebase, 'todos'),
36-
profile: pathToJS(firebase, 'profile'), // pass profile data as this.props.proifle
36+
profile: pathToJS(firebase, 'profile'), // pass profile data as this.props.profile
3737
auth: pathToJS(firebase, 'auth') // pass auth data as this.props.auth
3838
}))(fbWrapped)
3939
```

src/connect.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import { getEventsFromInput, createCallable } from './utils'
2727
* // pass todos list from redux as this.props.todosList
2828
* export default connect(({ firebase }) => ({
2929
* todosList: dataToJS(firebase, 'todos'),
30-
* profile: pathToJS(firebase, 'profile'), // pass profile data as this.props.proifle
30+
* profile: pathToJS(firebase, 'profile'), // pass profile data as this.props.profile
3131
* auth: pathToJS(firebase, 'auth') // pass auth data as this.props.auth
3232
* }))(fbWrapped)
3333
*/

0 commit comments

Comments
 (0)