Skip to content

Commit 3000d9e

Browse files
committed
style: lint
1 parent 7265b59 commit 3000d9e

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

core/src/components/accordion/accordion.tsx

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -379,10 +379,6 @@ export class Accordion implements ComponentInterface {
379379
};
380380

381381
private getNextSibling = () => {
382-
if (!this.el) {
383-
return;
384-
}
385-
386382
const nextSibling = this.el.nextElementSibling;
387383

388384
if (nextSibling?.tagName !== 'ION-ACCORDION') {
@@ -393,10 +389,6 @@ export class Accordion implements ComponentInterface {
393389
};
394390

395391
private getPreviousSibling = () => {
396-
if (!this.el) {
397-
return;
398-
}
399-
400392
const previousSibling = this.el.previousElementSibling;
401393

402394
if (previousSibling?.tagName !== 'ION-ACCORDION') {

0 commit comments

Comments
 (0)