Quote.tsx: Fix tslint errors
I really need to get tslint editor integration in place.
This commit is contained in:
parent
557ea55531
commit
d91f40177e
1 changed files with 7 additions and 6 deletions
|
@ -150,7 +150,7 @@ export class Quote extends React.Component<Props, {}> {
|
||||||
: i18n('replyingToYourself')
|
: i18n('replyingToYourself')
|
||||||
: i18n('replyingTo', [authorName]);
|
: i18n('replyingTo', [authorName]);
|
||||||
|
|
||||||
return <div className='ios-label'>{label}</div>;
|
return <div className="ios-label">{label}</div>;
|
||||||
}
|
}
|
||||||
|
|
||||||
public render() {
|
public render() {
|
||||||
|
@ -169,13 +169,14 @@ export class Quote extends React.Component<Props, {}> {
|
||||||
const authorProfileElement = authorProfileName
|
const authorProfileElement = authorProfileName
|
||||||
? <span className="profile-name">~{authorProfileName}</span>
|
? <span className="profile-name">~{authorProfileName}</span>
|
||||||
: null;
|
: null;
|
||||||
|
const classes = classnames(
|
||||||
|
authorColor,
|
||||||
|
'quote',
|
||||||
|
isFromMe ? 'from-me' : null,
|
||||||
|
);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div onClick={onClick} className={classnames(
|
<div onClick={onClick} className={classes}>
|
||||||
authorColor,
|
|
||||||
'quote',
|
|
||||||
isFromMe ? 'from-me' : null
|
|
||||||
)} >
|
|
||||||
<div className="primary">
|
<div className="primary">
|
||||||
{this.renderIOSLabel()}
|
{this.renderIOSLabel()}
|
||||||
<div className={classnames(authorColor, 'author')}>
|
<div className={classnames(authorColor, 'author')}>
|
||||||
|
|
Loading…
Add table
Reference in a new issue