13 lines
418 B
React
13 lines
418 B
React
|
import React from 'react';
|
||
|
import { withTracker } from 'meteor/react-meteor-data';
|
||
|
import ConnectionStatusService from '../service';
|
||
|
import ConnectionStatusIconComponent from './component';
|
||
|
|
||
|
const connectionStatusIconContainer = props => <ConnectionStatusIconComponent {...props} />;
|
||
|
|
||
|
export default withTracker(() => {
|
||
|
return {
|
||
|
stats: ConnectionStatusService.getStats(),
|
||
|
};
|
||
|
})(connectionStatusIconContainer);
|