Appease type system

This commit is contained in:
Travis Ralston 2021-07-16 10:57:41 -06:00
parent d156a56603
commit 7ba0adba77

View file

@ -33,7 +33,7 @@ export default class MImageReplyBody extends MImageBody {
// Don't show "Download this_file.png ..." // Don't show "Download this_file.png ..."
public getFileBody(): JSX.Element { public getFileBody(): JSX.Element {
return presentableTextForFile(this.props.mxEvent.getContent()); return <>{ presentableTextForFile(this.props.mxEvent.getContent()) }</>;
} }
render() { render() {