diff options
author | Hinaloe <hina@hinaloe.net> | 2019-05-20 01:41:41 +0900 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2019-05-19 18:41:41 +0200 |
commit | bb9d7fad9f8d5b77144d4d0a21a6c7cdca243f6b (patch) | |
tree | e349cf3ecaeb23b507617c9a551e4d4f8646c1f5 | |
parent | 692e7cea2ab8a4660e74edb909d7da641b5439f5 (diff) |
fix `isSubmitting` prop case (#10785)
-rw-r--r-- | app/javascript/mastodon/features/compose/containers/compose_form_container.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/mastodon/features/compose/containers/compose_form_container.js b/app/javascript/mastodon/features/compose/containers/compose_form_container.js index 93a468388..37a0e8845 100644 --- a/app/javascript/mastodon/features/compose/containers/compose_form_container.js +++ b/app/javascript/mastodon/features/compose/containers/compose_form_container.js @@ -20,7 +20,7 @@ const mapStateToProps = state => ({ focusDate: state.getIn(['compose', 'focusDate']), caretPosition: state.getIn(['compose', 'caretPosition']), preselectDate: state.getIn(['compose', 'preselectDate']), - is_submitting: state.getIn(['compose', 'is_submitting']), + isSubmitting: state.getIn(['compose', 'is_submitting']), isChangingUpload: state.getIn(['compose', 'is_changing_upload']), isUploading: state.getIn(['compose', 'is_uploading']), showSearch: state.getIn(['search', 'submitted']) && !state.getIn(['search', 'hidden']), |