Skip to content

Commit 0ea3d84

Browse files
author
Simen Brekken
committed
Fix another typo in the examples
1 parent e90879c commit 0ea3d84

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/basic/Count.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ Count.propTypes = {
1717
};
1818

1919
const mapPropsToSubscriptions = () => ({ count: 'count' });
20-
const mapRefToProps = firebase => ({
20+
const mapFirebaseToProps = firebase => ({
2121
setCount: count => firebase.child('count').set(count),
2222
});
2323

24-
export default connect(mapPropsToSubscriptions, mapRefToProps)(Count);
24+
export default connect(mapPropsToSubscriptions, mapFirebaseToProps)(Count);

0 commit comments

Comments
 (0)