You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-07 10:46:24 +03:00
@@ -148,7 +148,7 @@ export default class MImageBody extends React.Component<IProps, IState> {
|
||||
imgElement.src = this.getContentUrl();
|
||||
};
|
||||
|
||||
private onImageLeave = (e: React.MouseEvent): void => {
|
||||
private onImageLeave = (e: React.MouseEvent<HTMLImageElement>): void => {
|
||||
this.setState({ hover: false });
|
||||
|
||||
if (!this.state.showImage || !this.isGif() || SettingsStore.getValue("autoplayGifsAndVideos")) {
|
||||
|
||||
Reference in New Issue
Block a user