bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/audio/captions/live/container.jsx

19 lines
435 B
React
Raw Normal View History

import React from 'react';
import { withTracker } from 'meteor/react-meteor-data';
import Service from '/imports/ui/components/audio/captions/service';
import LiveCaptions from './component';
const Container = (props) => <LiveCaptions {...props} />;
export default withTracker(() => {
const {
transcriptId,
transcript,
} = Service.getAudioCaptionsData();
return {
transcript,
transcriptId,
};
})(Container);