diff --git a/core/src/components/item/item.tsx b/core/src/components/item/item.tsx index 71c05fbf1f..100f110aab 100644 --- a/core/src/components/item/item.tsx +++ b/core/src/components/item/item.tsx @@ -106,8 +106,8 @@ export class Item { : 'div'; const attrs = (TagType === 'button') - ? {type: 'button'} - : {href: this.href}; + ? { type: 'button' } + : { href: this.href }; const showDetail = this.detail != null ? this.detail : (this.mode === 'ios' && clickable);