12 lines
398 B
JavaScript
Executable File
12 lines
398 B
JavaScript
Executable File
import React from 'react';
|
|
import { withTracker } from 'meteor/react-meteor-data';
|
|
import VideoDock from './component';
|
|
import VideoService from '../service';
|
|
|
|
const VideoDockContainer = ({ children, ...props }) => <VideoDock {...props}>{children}</VideoDock>;
|
|
|
|
export default withTracker(() => ({
|
|
users: VideoService.getAllUsersVideo(),
|
|
userId: VideoService.userId(),
|
|
}))(VideoDockContainer);
|