diff --git a/packages/component-faraday-ui/src/manuscriptDetails/HandlingEditorAnswer.js b/packages/component-faraday-ui/src/manuscriptDetails/HandlingEditorAnswer.js index ceba4d6423988f0d5d56f03e5fa86952b69a5fa1..53f4ca16822becf9cc9eeb0927ad6021ec45a9aa 100644 --- a/packages/component-faraday-ui/src/manuscriptDetails/HandlingEditorAnswer.js +++ b/packages/component-faraday-ui/src/manuscriptDetails/HandlingEditorAnswer.js @@ -28,9 +28,8 @@ const HandlingEditorAnswer = ({ decision, isFetching, handleSubmit, - shouldShowComments, - // onSubmitForm, + shouldShowComments, }) => ( <ContextualBox expanded={expanded} @@ -56,7 +55,7 @@ const HandlingEditorAnswer = ({ </RowOverrideAlert> {shouldShowComments && ( - <RowOverrideAlert ml={1} mt={2}> + <RowOverrideAlert ml={1} mt={2} pr={2}> <Item vertical> <Label> Decline Reason{' '} @@ -96,6 +95,7 @@ export default compose( })), reduxForm({ form: 'he-answer-invitation', + destroyOnUnmount: false, onSubmit: (values, dispatch, { onResponse, setFetching }) => modalProps => { onResponse(values, { ...modalProps, setFetching }) },