mirror of
https://github.com/vale981/Vulcan
synced 2025-03-10 12:36:39 -04:00
10 lines
No EOL
284 B
JavaScript
10 lines
No EOL
284 B
JavaScript
import { createContainer } from 'meteor/react-meteor-data';
|
|
|
|
const CurrentUserContainer = createContainer(() => {
|
|
return {
|
|
currentUser: Meteor.user()
|
|
}
|
|
}, params => <params.component {...params} />);
|
|
|
|
module.exports = CurrentUserContainer;
|
|
export default CurrentUserContainer; |