mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-16 21:24:59 +08:00
Remove additional ?
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
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
Block a user