From 7e6dfb31af78b9d5a1a4ccec6998b14beb8a1194 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Wed, 10 Mar 2021 17:33:21 +0100 Subject: refactor annotation forms out of the directory nest --- .../align/containers/annotations.container.js | 28 ---------------------- 1 file changed, 28 deletions(-) delete mode 100644 animism-align/frontend/app/views/editor/align/containers/annotations.container.js (limited to 'animism-align/frontend/app/views/editor/align/containers/annotations.container.js') 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 ( -
- - {this.props.annotation.id && - - } -
- ) - } -} - -const mapStateToProps = state => ({ - timeline: state.align.timeline, - annotation: state.align.annotation, -}) - -export default connect(mapStateToProps)(Annotations) -- cgit v1.2.3-70-g09d2