about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch/features/compose/containers/compose_form_container.js
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2019-04-20 22:21:28 +0200
committerThibG <thib@sitedethib.com>2019-04-22 20:15:47 +0200
commit8fd599fb40a5a078f26b5f450d88cf12609d9c14 (patch)
tree2c48fc6800a33f754e21cb85a2d1886b85bc13f5 /app/javascript/flavours/glitch/features/compose/containers/compose_form_container.js
parentf72af5794da52d22fbb2a77e0fcbc111633fcab2 (diff)
ComposerReply → ReplyIndicator
Diffstat (limited to 'app/javascript/flavours/glitch/features/compose/containers/compose_form_container.js')
-rw-r--r--app/javascript/flavours/glitch/features/compose/containers/compose_form_container.js7
1 files changed, 0 insertions, 7 deletions
diff --git a/app/javascript/flavours/glitch/features/compose/containers/compose_form_container.js b/app/javascript/flavours/glitch/features/compose/containers/compose_form_container.js
index 18fc31dce..3293cc226 100644
--- a/app/javascript/flavours/glitch/features/compose/containers/compose_form_container.js
+++ b/app/javascript/flavours/glitch/features/compose/containers/compose_form_container.js
@@ -1,7 +1,6 @@
 import { connect } from 'react-redux';
 import ComposeForm from '../components/compose_form';
 import {
-  cancelReplyCompose,
   changeCompose,
   changeComposeAdvancedOption,
   changeComposeSensitivity,
@@ -68,9 +67,6 @@ function mapStateToProps (state) {
     preselectDate: state.getIn(['compose', 'preselectDate']),
     privacy: state.getIn(['compose', 'privacy']),
     progress: state.getIn(['compose', 'progress']),
-    inReplyTo: inReplyTo ? state.getIn(['statuses', inReplyTo]) : null,
-    replyAccount: inReplyTo ? state.getIn(['statuses', inReplyTo, 'account']) : null,
-    replyContent: inReplyTo ? state.getIn(['statuses', inReplyTo, 'contentHtml']) : null,
     resetFileKey: state.getIn(['compose', 'resetFileKey']),
     sideArm: sideArmPrivacy,
     sensitive: state.getIn(['compose', 'sensitive']),
@@ -90,9 +86,6 @@ function mapStateToProps (state) {
 
 //  Dispatch mapping.
 const mapDispatchToProps = (dispatch, { intl }) => ({
-  onCancelReply() {
-    dispatch(cancelReplyCompose());
-  },
   onChangeAdvancedOption(option, value) {
     dispatch(changeComposeAdvancedOption(option, value));
   },