Skip to content

Commit

Permalink
comply with linting rules
Browse files Browse the repository at this point in the history
  • Loading branch information
vcanales committed Jan 26, 2017
1 parent fdf315f commit c547bd3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/core/src/components/tag/tag.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ export class Tag extends React.Component<ITagProps, {}> {
return (
<span {...removeNonHTMLProps(this.props)} className={tagClasses}>
{this.props.children}
{isFunction(onRemove) ? <button type="button" className={Classes.TAG_REMOVE} onClick={onRemove} /> : null}
{isFunction(onRemove) ? <button type="button" className={Classes.TAG_REMOVE} onClick={onRemove} />
: null}
</span>
);
}
Expand Down

0 comments on commit c547bd3

Please sign in to comment.