17 lines
534 B
React
17 lines
534 B
React
|
import React from 'react';
|
||
|
import { withTracker } from 'meteor/react-meteor-data';
|
||
|
import Indicator from './component';
|
||
|
import TimerService from '/imports/ui/components/timer/service';
|
||
|
|
||
|
const IndicatorContainer = (props) => {
|
||
|
return (<Indicator {...props} />);
|
||
|
};
|
||
|
|
||
|
export default withTracker(() => ({
|
||
|
timer: TimerService.getTimer(),
|
||
|
timeOffset: TimerService.getTimeOffset(),
|
||
|
isModerator: TimerService.isModerator(),
|
||
|
isTimerActive: TimerService.isActive(),
|
||
|
hidden: Session.get('openPanel') !== '',
|
||
|
}))(IndicatorContainer);
|