diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2021-03-10 17:33:21 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2021-03-10 17:33:21 +0100 |
| commit | 7e6dfb31af78b9d5a1a4ccec6998b14beb8a1194 (patch) | |
| tree | be79b2a79524497fe7cacdeaf6205219edd46757 /animism-align/frontend/app/views/editor/align/containers/annotations.container.js | |
| parent | 8abd3ccd48c6d3b1c46f92a28e431385cca3e656 (diff) | |
refactor annotation forms out of the directory nest
Diffstat (limited to 'animism-align/frontend/app/views/editor/align/containers/annotations.container.js')
| -rw-r--r-- | animism-align/frontend/app/views/editor/align/containers/annotations.container.js | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/animism-align/frontend/app/views/editor/align/containers/annotations.container.js b/animism-align/frontend/app/views/editor/align/containers/annotations.container.js deleted file mode 100644 index cfcf7be..0000000 --- a/animism-align/frontend/app/views/editor/align/containers/annotations.container.js +++ /dev/null @@ -1,28 +0,0 @@ -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 ( - <div className='annotations'> - <AnnotationIndex /> - {this.props.annotation.id && - <AnnotationForm /> - } - </div> - ) - } -} - -const mapStateToProps = state => ({ - timeline: state.align.timeline, - annotation: state.align.annotation, -}) - -export default connect(mapStateToProps)(Annotations) |
