refactor(all): strict boolean conditions

This commit is contained in:
Manu Mtz.-Almeida
2018-08-31 18:59:09 +02:00
parent f383ebdf13
commit ba2230510e
96 changed files with 983 additions and 955 deletions

View File

@ -51,7 +51,7 @@ export class ChipButton {
}
render() {
const TagType = this.href ? 'a' : 'button';
const TagType = this.href === undefined ? 'button' : 'a';
return (
<TagType