307ab6ea40
Include captions' author avatar at the live feedback to improve identification.
19 lines
435 B
JavaScript
19 lines
435 B
JavaScript
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);
|