Skip to content

Commit e954cec

Browse files
author
Simen Brekken
committed
Fix arguments ordering
1 parent a2cf4e3 commit e954cec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ export default connect(mapFirebaseToProps)(TodoApp)
7070
##### Inject `todos`, `completedTodos`, a function that completes a todo (`completeTodo`) and one that logs in
7171

7272
```js
73-
const mapFirebaseToProps = (ref, props, { auth }) => ({
73+
const mapFirebaseToProps = (props, ref, { auth }) => ({
7474
todos: 'todos',
7575
completedTodos: {
7676
path: 'todos',

0 commit comments

Comments
 (0)