about summary refs log tree commit diff
path: root/app/assets/javascripts/components
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-08-31 23:03:01 +0200
committerEugen Rochko <eugen@zeonfederated.com>2016-08-31 23:03:01 +0200
commitd6873797acc6b4f1a258195f2893c1fbd4f0120a (patch)
treea2b28f4dda598ab53d6f71f0b43745ede88630f3 /app/assets/javascripts/components
parentdbae8062f4ff6dcad98c90f6654b27111806013a (diff)
Fix typo
Diffstat (limited to 'app/assets/javascripts/components')
-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);