mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-10 00:27:41 +08:00
refactor(all): strict boolean conditions
This commit is contained in:
@ -51,7 +51,7 @@ export class ChipButton {
|
||||
}
|
||||
|
||||
render() {
|
||||
const TagType = this.href ? 'a' : 'button';
|
||||
const TagType = this.href === undefined ? 'button' : 'a';
|
||||
|
||||
return (
|
||||
<TagType
|
||||
|
||||
Reference in New Issue
Block a user