bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/breakout-room/invitation/container.jsx
2019-06-07 10:49:50 -03:00

19 lines
651 B
JavaScript

import React from 'react';
import { withTracker } from 'meteor/react-meteor-data';
import BreakoutRoomInvitation from './component';
import BreakoutService from '../service';
import Auth from '/imports/ui/services/auth';
const BreakoutRoomInvitationContainer = props => (
<BreakoutRoomInvitation {...props} />
);
export default withTracker(() => {
return {
breakouts: BreakoutService.getBreakouts(),
getBreakoutByUser: BreakoutService.getBreakoutByUser,
currentBreakoutUser: BreakoutService.getBreakoutUserByUserId(Auth.userID),
getBreakoutByUserId: BreakoutService.getBreakoutByUserId,
};
})(BreakoutRoomInvitationContainer);