Added trailing comma to make eslint happy
This commit is contained in:
parent
3ef9584f68
commit
6a550f2f9c
1 changed files with 1 additions and 1 deletions
|
@ -122,7 +122,7 @@ export default class EventTilePreview extends React.Component<IProps, IState> {
|
||||||
const className = classnames(this.props.className, {
|
const className = classnames(this.props.className, {
|
||||||
"mx_IRCLayout": this.props.layout == Layout.IRC,
|
"mx_IRCLayout": this.props.layout == Layout.IRC,
|
||||||
"mx_GroupLayout": this.props.layout == Layout.Group,
|
"mx_GroupLayout": this.props.layout == Layout.Group,
|
||||||
"mx_EventTilePreview_loader": !this.props.userId
|
"mx_EventTilePreview_loader": !this.props.userId,
|
||||||
});
|
});
|
||||||
|
|
||||||
if (!this.props.userId) return <div className={className}><Spinner /></div>;
|
if (!this.props.userId) return <div className={className}><Spinner /></div>;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue