Downgrade matrix-events-sdk, update yarn.lock, remove stub package (#10262)

* Update yarn.lock, remove stub package, fix peer deps

* iterate

* Iterate

* Resolutions

* Apply resolution for @types/react

* Fix more types

* Fix strict types

* Unbreak jest
This commit is contained in:
Michael Telatynski 2023-03-01 09:12:14 +00:00 committed by GitHub
parent 5a3d9d682f
commit 976345c835
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 22 additions and 47 deletions

View file

@ -34,6 +34,7 @@ import {
import { _t } from "../../../../languageHandler";
import DeviceContextMenu from "../../context_menus/DeviceContextMenu";
import { MediaDeviceKindEnum } from "../../../../MediaDeviceHandler";
import { ButtonEvent } from "../../elements/AccessibleButton";
// Height of the header duplicated from CSS because we need to subtract it from our max
// height to get the max height of the video
@ -46,7 +47,6 @@ interface IButtonProps extends Omit<React.ComponentProps<typeof AccessibleToolti
className: string;
onLabel?: string;
offLabel?: string;
onClick: (event: React.MouseEvent) => void;
}
const LegacyCallViewToggleButton: React.FC<IButtonProps> = ({
@ -86,7 +86,7 @@ const LegacyCallViewDropdownButton: React.FC<IDropdownButtonProps> = ({ state, d
mx_LegacyCallViewButtons_dropdownButton_collapsed: !menuDisplayed,
});
const onClick = (event: React.MouseEvent): void => {
const onClick = (event: ButtonEvent): void => {
event.stopPropagation();
openMenu();
};