File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " react-redux-firebase" ,
3- "version" : " 3.0.0-alpha" ,
3+ "version" : " 3.0.0-alpha.2 " ,
44 "description" : " Redux integration for Firebase. Comes with a Higher Order Components for use with React." ,
55 "main" : " lib/index.js" ,
66 "module" : " es/index.js" ,
Original file line number Diff line number Diff line change @@ -93,15 +93,15 @@ export const createFirebaseConnect = (storeKey = 'store') => (
9393 const HoistedComp = hoistStatics ( FirebaseConnectWrapped , WrappedComponent )
9494
9595 const FirebaseConnect = props => (
96- < ReactReduxFirebaseContext . Provider >
96+ < ReactReduxFirebaseContext . Consumer >
9797 { firebase => (
9898 < HoistedComp
9999 firebase = { firebase }
100100 dispatch = { firebase . dispatch }
101101 { ...props }
102102 />
103103 ) }
104- </ ReactReduxFirebaseContext . Provider >
104+ </ ReactReduxFirebaseContext . Consumer >
105105 )
106106
107107 FirebaseConnect . propTypes = {
You can’t perform that action at this time.
0 commit comments