Created
August 2, 2016 09:11
-
-
Save balibou/45af46aba0c2110536bf5ad3a5d980a3 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
// ./imports/ui/containers/plans-list.js | |
import { composeWithTracker } from 'react-komposer'; | |
import { PlansList } from '../components/plans-list'; | |
import { Loading } from '../components/loading.js'; | |
import { Meteor } from 'meteor/meteor'; | |
const composer = (params, onData) => { | |
const plans = Meteor.settings.public.plans; | |
onData(null, { plans }); | |
}; | |
export default composeWithTracker(composer, Loading)(PlansList); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment