mirror of https://github.com/vector-im/riot-web
Remove additional ?
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>pull/21833/head
parent
5fc35565df
commit
2a403f6cfe
|
@ -135,7 +135,7 @@ export default class MImageBody extends React.Component<IProps, IState> {
|
|||
|
||||
private isGif = (): boolean => {
|
||||
const content = this.props.mxEvent.getContent();
|
||||
return content?.info?.mimetype === "image/gif";
|
||||
return content.info?.mimetype === "image/gif";
|
||||
};
|
||||
|
||||
private onImageEnter = (e: React.MouseEvent): void => {
|
||||
|
|
Loading…
Reference in New Issue