Skip to content

Commit 378bc9b

Browse files
chore(icon): lint
1 parent 9c0bb8b commit 378bc9b

2 files changed

Lines changed: 2 additions & 12 deletions

File tree

core/src/css/ionic/_phosphor.scss

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@
1111
// (see scripts/copy-fonts.mjs). Paths here are relative to css/ionic/.
1212
@font-face {
1313
font-family: "Phosphor";
14-
src: url("../fonts/Phosphor.woff2") format("woff2"),
15-
url("../fonts/Phosphor.woff") format("woff");
14+
src: url("../fonts/Phosphor.woff2") format("woff2"), url("../fonts/Phosphor.woff") format("woff");
1615
font-weight: normal;
1716
font-style: normal;
1817
font-display: block;

core/src/utils/icon.tsx

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -62,14 +62,5 @@ export const renderIcon = (
6262
);
6363
}
6464

65-
return (
66-
<ion-icon
67-
icon={svgIcon}
68-
part={part}
69-
class={cls}
70-
aria-hidden="true"
71-
lazy={lazy}
72-
flip-rtl={flipRtl}
73-
/>
74-
);
65+
return <ion-icon icon={svgIcon} part={part} class={cls} aria-hidden="true" lazy={lazy} flip-rtl={flipRtl} />;
7566
};

0 commit comments

Comments
 (0)