Remove unnecessary comment.
This commit is contained in:
@@ -62,8 +62,6 @@ export class ActionsManager {
|
|||||||
public handleInteractionEvent = (ev: Event): void => {
|
public handleInteractionEvent = (ev: Event): void => {
|
||||||
const result = interactionEventSchema.safeParse(ev);
|
const result = interactionEventSchema.safeParse(ev);
|
||||||
if (!result.success) {
|
if (!result.success) {
|
||||||
// The event may not be a CustomEvent object, see:
|
|
||||||
// https://github.com/custom-cards/custom-card-helpers/blob/master/src/fire-event.ts#L70
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
const interaction = result.data.detail.action;
|
const interaction = result.data.detail.action;
|
||||||
|
|||||||
Reference in New Issue
Block a user