Merge pull request #4871 from matrix-org/t3chguy/room-list/3

Convert Context Menu to TypeScript
This commit is contained in:
Michael Telatynski 2020-07-08 13:24:10 +01:00 committed by GitHub
commit d7ad555c12
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 457 additions and 267 deletions

View file

@ -64,7 +64,6 @@ export default function AccessibleButton({
className,
...restProps
}: IProps) {
const newProps: IAccessibleButtonProps = restProps;
if (!disabled) {
newProps.onClick = onClick;