diff --git a/packages/core/src/protocol-helpers.ts b/packages/core/src/protocol-helpers.ts index 10423426e..62cd24f1e 100644 --- a/packages/core/src/protocol-helpers.ts +++ b/packages/core/src/protocol-helpers.ts @@ -161,9 +161,7 @@ export default class ProtocolHelpers { if ( eventName != null && uriScheme != null && - td?.events != null && - td.events[eventName] != null && - td.events[eventName].forms != null && + td?.events[eventName]?.forms != null && Array.isArray(td.events[eventName].forms) ) { for (const form of td.events[eventName].forms) {