13 lines
551 B
JavaScript
13 lines
551 B
JavaScript
import React from 'react';
|
|
import { withTracker } from 'meteor/react-meteor-data';
|
|
import { withModalMounter } from '/imports/ui/components/modal/service';
|
|
import ConnectionStatusService from '../service';
|
|
import ConnectionStatusComponent from './component';
|
|
|
|
const connectionStatusContainer = props => <ConnectionStatusComponent {...props} />;
|
|
|
|
export default withModalMounter(withTracker(({ mountModal }) => ({
|
|
closeModal: () => mountModal(null),
|
|
connectionStatus: ConnectionStatusService.getConnectionStatus(),
|
|
}))(connectionStatusContainer));
|