1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-05 23:10:41 +03:00

Fix types

Signed-off-by: Robin Townsend <robin@robin.town>
This commit is contained in:
Robin Townsend
2021-07-21 02:42:30 -04:00
parent 3911666c52
commit 0497e0864f

View File

@@ -230,11 +230,11 @@ export default class ImageView extends React.Component<IProps, IState> {
}
};
private onZoomInClick = (ev: MouseEvent) => {
private onZoomInClick = () => {
this.zoomDelta(ZOOM_STEP);
};
private onZoomOutClick = (ev: MouseEvent) => {
private onZoomOutClick = () => {
this.zoomDelta(-ZOOM_STEP);
};