13 lines
451 B
JavaScript
13 lines
451 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(() => ({
|
|
isLocked: VideoService.isLocked(),
|
|
meetingId: VideoService.meetingId(),
|
|
userId: VideoService.userId(),
|
|
}))(VideoProviderContainer);
|