bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/video-provider/container.jsx
2018-02-19 04:23:05 +00:00

14 lines
391 B
JavaScript

import React from 'react';
import { withTracker } from 'meteor/react-meteor-data';
import VideoProvider from './component';
import VideoService from './service';
const VideoProviderContainer = ({ children, ...props }) => <VideoProvider {...props}>{children}</VideoProvider>;
export default withTracker(() => {
return {
userId: VideoService.userId()
};
})(VideoProviderContainer);