Skip to content

Commit

Permalink
Fixed typo in connect docs
Browse files Browse the repository at this point in the history
* fixes  #141, #145
  • Loading branch information
prescottprue committed May 29, 2017
1 parent 850a08c commit ce064dc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/api/connect.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const fbWrapped = firebaseConnect([
// pass todos list from redux as this.props.todosList
export default connect(({ firebase }) => ({
todosList: dataToJS(firebase, 'todos'),
profile: pathToJS(firebase, 'profile'), // pass profile data as this.props.proifle
profile: pathToJS(firebase, 'profile'), // pass profile data as this.props.profile
auth: pathToJS(firebase, 'auth') // pass auth data as this.props.auth
}))(fbWrapped)
```
Expand Down
2 changes: 1 addition & 1 deletion src/connect.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import { getEventsFromInput, createCallable } from './utils'
* // pass todos list from redux as this.props.todosList
* export default connect(({ firebase }) => ({
* todosList: dataToJS(firebase, 'todos'),
* profile: pathToJS(firebase, 'profile'), // pass profile data as this.props.proifle
* profile: pathToJS(firebase, 'profile'), // pass profile data as this.props.profile
* auth: pathToJS(firebase, 'auth') // pass auth data as this.props.auth
* }))(fbWrapped)
*/
Expand Down

0 comments on commit ce064dc

Please sign in to comment.