23 lines
416 B
JavaScript
23 lines
416 B
JavaScript
import React from 'react';
|
|
import { withTracker } from 'meteor/react-meteor-data';
|
|
import CaptionsService from './service';
|
|
import Captions from './component';
|
|
|
|
const CaptionsContainer = props => (
|
|
<Captions {...props} />
|
|
);
|
|
|
|
export default withTracker(() => {
|
|
const {
|
|
padId,
|
|
revs,
|
|
data,
|
|
} = CaptionsService.getCaptionsData();
|
|
|
|
return {
|
|
padId,
|
|
revs,
|
|
data,
|
|
};
|
|
})(CaptionsContainer);
|