mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-29 22:10:57 +08:00
fix types
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
b951516077
commit
3639170789
@ -561,7 +561,7 @@ export default class RoomSublist2 extends React.Component<IProps, IState> {
|
||||
</div>
|
||||
);
|
||||
|
||||
let Button = AccessibleButton;
|
||||
let Button: React.ComponentType<React.ComponentProps<typeof AccessibleButton>> = AccessibleButton;
|
||||
if (this.props.isMinimized) {
|
||||
Button = AccessibleTooltipButton;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user