2020-04-10 01:01:46 +08:00
|
|
|
import React from 'react';
|
|
|
|
import { withTracker } from 'meteor/react-meteor-data';
|
2022-02-15 23:54:55 +08:00
|
|
|
import { withModalMounter } from '/imports/ui/components/common/modal/service';
|
2020-04-10 01:01:46 +08:00
|
|
|
import ConnectionStatusService from '../service';
|
|
|
|
import ConnectionStatusComponent from './component';
|
|
|
|
|
|
|
|
const connectionStatusContainer = props => <ConnectionStatusComponent {...props} />;
|
|
|
|
|
|
|
|
export default withModalMounter(withTracker(({ mountModal }) => ({
|
2023-02-17 20:58:24 +08:00
|
|
|
closeModal: () => {
|
2021-03-26 05:22:50 +08:00
|
|
|
mountModal(null);
|
|
|
|
},
|
2020-04-10 01:01:46 +08:00
|
|
|
connectionStatus: ConnectionStatusService.getConnectionStatus(),
|
|
|
|
}))(connectionStatusContainer));
|