import React, { Component } from 'react' import { connect } from 'react-redux' import AnnotationForm from 'app/views/editor/align/components/annotations/annotation.form' import AnnotationIndex from 'app/views/editor/align/components/annotations/annotation.index' class Annotations extends Component { constructor(props){ super(props) } render() { return (
{this.props.annotation.id && }
) } } const mapStateToProps = state => ({ timeline: state.align.timeline, annotation: state.align.annotation, }) export default connect(mapStateToProps)(Annotations)