1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-07 10:46:24 +03:00

Remove additional ?

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
Šimon Brandner
2021-07-13 09:17:18 +02:00
parent 5fc35565df
commit 2a403f6cfe

View File

@@ -135,7 +135,7 @@ export default class MImageBody extends React.Component<IProps, IState> {
private isGif = (): boolean => { private isGif = (): boolean => {
const content = this.props.mxEvent.getContent(); const content = this.props.mxEvent.getContent();
return content?.info?.mimetype === "image/gif"; return content.info?.mimetype === "image/gif";
}; };
private onImageEnter = (e: React.MouseEvent): void => { private onImageEnter = (e: React.MouseEvent): void => {