lint
This commit is contained in:
@@ -26,16 +26,15 @@ class Title extends React.Component {
|
||||
usePlaceholder = true;
|
||||
}
|
||||
|
||||
return(
|
||||
return (
|
||||
<span
|
||||
title={ this.props.children }
|
||||
className={ cx(styles.title, { untitled: usePlaceholder })}
|
||||
className={ cx(styles.title, { untitled: usePlaceholder }) }
|
||||
>
|
||||
{ title || this.props.placeholder }
|
||||
</span>
|
||||
);
|
||||
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
export default Title;
|
||||
|
||||
Reference in New Issue
Block a user