Remove unnecessary comment.

This commit is contained in:
Dermot Duffy
2024-04-07 21:21:27 -07:00
parent 9c9548afc8
commit 25d080f0d4
-2
View File
@@ -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;