diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2021-03-08 22:11:55 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2021-03-08 22:11:55 +0100 |
| commit | d2cb17038b8537a609be06be2ed7013dbe27117e (patch) | |
| tree | 028ceac9edddafc03ce80c49d5a05981bec3fcbe /animism-align/frontend/app/views/align/containers/annotations.container.js | |
| parent | b5ceb782f40fc1e402d1e58bc1ced2e4038fd787 (diff) | |
beginning the BIG refactor. moving editor stuff into per-episode hierarchy
Diffstat (limited to 'animism-align/frontend/app/views/align/containers/annotations.container.js')
| -rw-r--r-- | animism-align/frontend/app/views/align/containers/annotations.container.js | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/animism-align/frontend/app/views/align/containers/annotations.container.js b/animism-align/frontend/app/views/align/containers/annotations.container.js deleted file mode 100644 index 167ae3a..0000000 --- a/animism-align/frontend/app/views/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/align/components/annotations/annotation.form' -import AnnotationIndex from 'app/views/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) |
