bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/breakout-room/invitation/container.jsx

19 lines
651 B
React
Raw Normal View History

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);