2020-04-10 01:01:46 +08:00
|
|
|
import React from 'react';
|
|
|
|
import { withTracker } from 'meteor/react-meteor-data';
|
|
|
|
import ConnectionStatusService from '../service';
|
|
|
|
import ConnectionStatusComponent from './component';
|
|
|
|
|
|
|
|
const connectionStatusContainer = props => <ConnectionStatusComponent {...props} />;
|
|
|
|
|
2023-03-21 01:57:36 +08:00
|
|
|
export default withTracker(() => ({
|
2020-04-10 01:01:46 +08:00
|
|
|
connectionStatus: ConnectionStatusService.getConnectionStatus(),
|
2023-03-21 01:57:36 +08:00
|
|
|
}))(connectionStatusContainer);
|