Created
September 18, 2018 08:41
-
-
Save s3thi/311d357252f369dc6d5c24adbac0c268 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export default compose( | |
connect(state => ({ | |
lifeAreasByKey: state.firestore.data.life_areas, | |
lifeAreasOrdered: state.firestore.ordered.life_areas, | |
})), | |
firestoreConnect(props => [ | |
{ collection: "life_areas", where: [["user_id", "==", props.auth.uid]] } | |
]) | |
)(MyApp); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment