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