mirror of
https://github.com/element-hq/element-web
synced 2024-11-24 02:05:45 +03:00
There's a type for everything!
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
39e682afed
commit
f920c1fb3f
1 changed files with 1 additions and 1 deletions
|
@ -238,7 +238,7 @@ export default class AuxPanel extends React.Component<IProps, IState> {
|
|||
"mx_RoomView_auxPanel": true,
|
||||
"mx_RoomView_auxPanel_fullHeight": this.props.fullHeight,
|
||||
});
|
||||
const style:any = {};
|
||||
const style: React.CSSProperties = {};
|
||||
if (!this.props.fullHeight) {
|
||||
style.maxHeight = this.props.maxHeight;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue