diff --git a/react/actions/publish.js b/react/actions/publish.js index f2cb6dea..40dad4ed 100644 --- a/react/actions/publish.js +++ b/react/actions/publish.js @@ -58,3 +58,10 @@ export function updateSelectedChannel (value) { value, }; }; + +export function toggleMetadataInputs (value) { + return { + type: actions.TOGGLE_METADATA_INPUTS, + value, + }; +}; diff --git a/react/components/ExpandingTextArea.jsx b/react/components/ExpandingTextArea.jsx index d628b8de..c6a3fdaf 100644 --- a/react/components/ExpandingTextArea.jsx +++ b/react/components/ExpandingTextArea.jsx @@ -3,11 +3,11 @@ import PropTypes from 'prop-types'; class ExpandingTextarea extends Component { componentDidMount () { - this._adjustTextarea({}); + this.adjustTextarea({}); } render () { - const { onChange, maxHeight, ...rest } = this.props; + const { onChange, ...rest } = this.props; return (