From 0031ab82b723d5223fc9a217cec7dbb02be21e0e Mon Sep 17 00:00:00 2001 From: Brandy Carney Date: Mon, 8 Jul 2019 11:11:49 -0400 Subject: [PATCH] style(lint): fix lint issues --- core/src/components/alert/alert.tsx | 2 +- core/src/utils/overlays.ts | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/core/src/components/alert/alert.tsx b/core/src/components/alert/alert.tsx index 01980f32f7..e52dc95ea4 100644 --- a/core/src/components/alert/alert.tsx +++ b/core/src/components/alert/alert.tsx @@ -223,7 +223,7 @@ export class Alert implements ComponentInterface, OverlayInterface { input.checked = input === selectedInput; } this.activeId = selectedInput.id; - safeCall(selectedInput.handler, selectedInput) + safeCall(selectedInput.handler, selectedInput); this.el.forceUpdate(); } diff --git a/core/src/utils/overlays.ts b/core/src/utils/overlays.ts index 26959ee0ae..9d64289a03 100644 --- a/core/src/utils/overlays.ts +++ b/core/src/utils/overlays.ts @@ -203,7 +203,6 @@ const overlayAnimation = async ( return hasCompleted; }; - export const eventMethod = (element: HTMLElement, eventName: string): Promise => { let resolve: (detail: T) => void; const promise = new Promise(r => resolve = r);