Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Appease type system
Browse files Browse the repository at this point in the history
  • Loading branch information
turt2live committed Jul 16, 2021
1 parent d156a56 commit 7ba0adb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/views/messages/MImageReplyBody.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 7ba0adb

Please sign in to comment.