Skip to content

Commit a97ead6

Browse files
Simplify syntax
1 parent 0be1594 commit a97ead6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/components/searchbar/searchbar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -818,7 +818,7 @@ export class Searchbar implements ComponentInterface {
818818

819819
{(theme === 'md' || theme === 'ionic') && cancelButton}
820820

821-
{(theme === 'ionic' && this.searchIcon !== undefined) || theme !== 'ionic' ? (
821+
{theme !== 'ionic' || this.searchIcon !== undefined ? (
822822
<ion-icon
823823
aria-hidden="true"
824824
icon={searchbarSearchIcon}

0 commit comments

Comments
 (0)