Fixed eslint error and copyright header
This commit is contained in:
parent
d76adde1ab
commit
9fdc5659b7
2 changed files with 6 additions and 2 deletions
|
@ -124,7 +124,11 @@ export default class EventTilePreview extends React.Component<IProps, IState> {
|
|||
"mx_GroupLayout": this.props.layout == Layout.Group,
|
||||
});
|
||||
|
||||
if (!this.props.userId) return <div className={classnames("mx_EventTilePreview_loader", className)}><Spinner /></div>;
|
||||
if (!this.props.userId) {
|
||||
return <div className={classnames("mx_EventTilePreview_loader", className)}>
|
||||
<Spinner />
|
||||
</div>;
|
||||
}
|
||||
|
||||
const event = this.fakeEvent(this.state);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue