add support for tags with special chars

This commit is contained in:
or-else
2019-03-26 21:50:44 +03:00
parent 194306ac4f
commit 60fa6d7806
9 changed files with 53 additions and 54 deletions
+2 -1
View File
@@ -15,8 +15,9 @@ export default class Chip extends React.PureComponent {
render() {
const title = this.props.title || this.props.topic;
const className = this.props.invalid ? 'chip invalid' : 'chip';
return (
<div className="chip">
<div className={className}>
{this.props.noAvatar ?
<span className="spacer" /> :
<div className="avatar-box">