mirror of
https://github.com/element-hq/element-web.git
synced 2024-12-18 08:21:47 +03:00
Appease type system
This commit is contained in:
parent
d156a56603
commit
7ba0adba77
1 changed files with 1 additions and 1 deletions
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue