Skip to content

Commit ec4e893

Browse files
author
Johnatan Dias
committed
fix(icon): remove comment that disabled tslint
feature/add-icons
1 parent 45d5d85 commit ec4e893

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/components/icon/icon.component.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,9 @@ class IconController implements IComponentController {
4444
$onChanges(changes) {
4545
const svg = (this.$element[0] as HTMLElement).firstElementChild;
4646

47-
// tslint:disable-next-line: curly
48-
if (!svg) return;
47+
if (!svg) {
48+
return;
49+
}
4950

5051
if ('width' in changes && changes.width !== this.width) {
5152
svg.setAttribute('width', this.width);

0 commit comments

Comments
 (0)