diff --git a/app/soapbox/features/compose/components/upload.js b/app/soapbox/features/compose/components/upload.js index 7fd373e7b..14b8ba5c9 100644 --- a/app/soapbox/features/compose/components/upload.js +++ b/app/soapbox/features/compose/components/upload.js @@ -92,7 +92,7 @@ class Upload extends ImmutablePureComponent { } render() { - const { intl, media } = this.props; + const { intl, media, descriptionLimit } = this.props; const active = this.state.hovered || this.state.focused; const description = this.state.dirtyDescription || (this.state.dirtyDescription !== '' && media.get('description')) || ''; const focusX = media.getIn(['meta', 'focus', 'x']); @@ -125,7 +125,7 @@ class Upload extends ImmutablePureComponent {