import React, { Component } from 'react' // import { Link } from 'react-router-dom' import { bindActionCreators } from 'redux' import { connect } from 'react-redux' import actions from '../../../actions' // import * as alignActions from '../align.actions' import { ZOOM_STEPS } from '../constants' import { clamp } from '../../../util' import { positionToTime } from '../align.util' import AnnotationForm from '../components/annotations/annotation.form' class Annotations extends Component { constructor(props){ super(props) // this.handleKeydown = this.handleKeydown.bind(this) } render() { return (
{this.props.annotation.start_ts && }
) } } /* - get the first sentence from the text - display the form at that point */ const mapStateToProps = state => ({ timeline: state.align.timeline, annotation: state.align.annotation, }) const mapDispatchToProps = dispatch => ({ }) export default connect(mapStateToProps, mapDispatchToProps)(Annotations)