You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-14 19:02:33 +03:00
lint
This commit is contained in:
@@ -109,7 +109,7 @@ interface IProps extends React.InputHTMLAttributes<Element> {
|
||||
tabIndex?: number,
|
||||
disabled?: boolean,
|
||||
className?: string,
|
||||
onClick(e?: React.MouseEvent<Element> | React.KeyboardEvent<Element>): void;
|
||||
onClick?(e?: React.MouseEvent<Element> | React.KeyboardEvent<Element>): void;
|
||||
};
|
||||
|
||||
interface IAccessibleButtonProps extends React.InputHTMLAttributes<Element> {
|
||||
|
||||
@@ -182,7 +182,7 @@ export default class RoomSublist2 extends React.Component<IProps, IState> {
|
||||
tabIndex={tabIndex}
|
||||
className={"mx_RoomSubList_label"}
|
||||
role="treeitem"
|
||||
aria-level="1"
|
||||
aria-level={1}
|
||||
>
|
||||
{chevron}
|
||||
<span>{this.props.label}</span>
|
||||
|
||||
Reference in New Issue
Block a user