fix types

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski 2020-07-17 19:00:02 +01:00
parent b951516077
commit 3639170789

View File

@ -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;
}