2017-08-12 04:32:33 +08:00
|
|
|
import React, { Component } from 'react';
|
|
|
|
import { createContainer } from 'meteor/react-meteor-data';
|
|
|
|
import LogoutConfirmation from './component';
|
2017-08-15 04:03:37 +08:00
|
|
|
import LogoutConfirmationService from './service';
|
2017-08-12 04:32:33 +08:00
|
|
|
|
|
|
|
class LogoutConfirmationContainer extends Component {
|
|
|
|
|
|
|
|
constructor(props) {
|
|
|
|
super(props);
|
|
|
|
}
|
|
|
|
|
|
|
|
render() {
|
|
|
|
return(
|
|
|
|
<LogoutConfirmation {...this.props} />
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
export default createContainer(() => {
|
2017-08-15 04:03:37 +08:00
|
|
|
|
2017-08-12 04:32:33 +08:00
|
|
|
return {
|
2017-09-02 04:00:55 +08:00
|
|
|
isModerator: LogoutConfirmationService.isModerator(),
|
2017-08-15 04:03:37 +08:00
|
|
|
endMeeting: LogoutConfirmationService.endMeeting,
|
2017-08-12 04:32:33 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
}, LogoutConfirmationContainer);
|