11 lines
408 B
JavaScript
11 lines
408 B
JavaScript
import React from 'react';
|
|
import { withTracker } from 'meteor/react-meteor-data';
|
|
import ConnectionStatusService from '../service';
|
|
import ConnectionStatusComponent from './component';
|
|
|
|
const connectionStatusContainer = props => <ConnectionStatusComponent {...props} />;
|
|
|
|
export default withTracker(() => ({
|
|
connectionStatus: ConnectionStatusService.getConnectionStatus(),
|
|
}))(connectionStatusContainer);
|