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'; import AppService from '/imports/ui/components/app/service'; const BreakoutRoomInvitationContainer = ({ isMeetingBreakout, ...props }) => { if (isMeetingBreakout) return null; return ( ); }; export default withTracker(() => ({ isMeetingBreakout: AppService.meetingIsBreakout(), breakouts: BreakoutService.getBreakoutsNoTime(), getBreakoutByUser: BreakoutService.getBreakoutByUser, currentBreakoutUser: BreakoutService.getBreakoutUserByUserId(Auth.userID), breakoutUserIsIn: BreakoutService.getBreakoutUserIsIn(Auth.userID), amIModerator: BreakoutService.amIModerator(), }))(BreakoutRoomInvitationContainer);