You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-08 21:42:24 +03:00
Appease type system
This commit is contained in:
@@ -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() {
|
||||||
|
|||||||
Reference in New Issue
Block a user