about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--app/assets/javascripts/components/reducers/compose.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/components/reducers/compose.jsx b/app/assets/javascripts/components/reducers/compose.jsx
index 601cc6449..abd99ee68 100644
--- a/app/assets/javascripts/components/reducers/compose.jsx
+++ b/app/assets/javascripts/components/reducers/compose.jsx
@@ -23,7 +23,7 @@ export default function compose(state = initialState, action) {
       return state.set('is_submitting', true);
     case constants.COMPOSE_SUBMIT_SUCCESS:
       return state.withMutations(map => {
-        map.set('text', '').set('is_submitting', false),set('in_reply_to', null);
+        map.set('text', '').set('is_submitting', false).set('in_reply_to', null);
       });
     case constants.COMPOSE_SUBMIT_FAIL:
       return state.set('is_submitting', false);