mirror of https://github.com/vector-im/riot-web
Added trailing comma to make eslint happy
parent
3ef9584f68
commit
6a550f2f9c
|
@ -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…
Reference in New Issue