Skip to content
This repository has been archived by the owner on Feb 26, 2021. It is now read-only.

Commit

Permalink
Name AppContainer and then export
Browse files Browse the repository at this point in the history
Matching Guide update: meteor/guide#893
  • Loading branch information
lorensr committed Sep 28, 2018
1 parent 0d974e8 commit ae86d89
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion imports/ui/containers/AppContainer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import App from '../layouts/App.jsx';

const menuOpen = new ReactiveVar(false);

export default withTracker(() => {
const AppContainer = withTracker(() => {
const publicHandle = Meteor.subscribe('lists.public');
const privateHandle = Meteor.subscribe('lists.private');
return {
Expand All @@ -23,3 +23,5 @@ export default withTracker(() => {
}).fetch(),
};
})(App);

export default AppContainer;

0 comments on commit ae86d89

Please sign in to comment.