mirror of
https://github.com/element-hq/element-web
synced 2024-11-23 01:35:49 +03:00
Fixed eslint error and copyright header
This commit is contained in:
parent
d76adde1ab
commit
9fdc5659b7
2 changed files with 6 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Copyright 2016 OpenMarket Ltd
|
||||
Copyright 2021 The Matrix.org Foundation C.I.C.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
|
|
@ -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…
Reference in a new issue