fix types
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
b951516077
commit
3639170789
1 changed files with 1 additions and 1 deletions
|
@ -561,7 +561,7 @@ export default class RoomSublist2 extends React.Component<IProps, IState> {
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|
||||||
let Button = AccessibleButton;
|
let Button: React.ComponentType<React.ComponentProps<typeof AccessibleButton>> = AccessibleButton;
|
||||||
if (this.props.isMinimized) {
|
if (this.props.isMinimized) {
|
||||||
Button = AccessibleTooltipButton;
|
Button = AccessibleTooltipButton;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue