diff --git a/src/components/views/messages/MImageReplyBody.tsx b/src/components/views/messages/MImageReplyBody.tsx index 44acf18004..5f7f0da3ca 100644 --- a/src/components/views/messages/MImageReplyBody.tsx +++ b/src/components/views/messages/MImageReplyBody.tsx @@ -33,7 +33,7 @@ export default class MImageReplyBody extends MImageBody { // Don't show "Download this_file.png ..." public getFileBody(): JSX.Element { - return presentableTextForFile(this.props.mxEvent.getContent()); + return <>{ presentableTextForFile(this.props.mxEvent.getContent()) }; } render() {