Update front/src/Api/Events/IframeEvent.ts

Co-authored-by: David Négrier <d.negrier@thecodingmachine.com>
This commit is contained in:
Bénédicte Q 2021-12-08 10:06:34 +01:00 committed by GitHub
parent 66da11f854
commit 8a6ad40d6b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -197,7 +197,6 @@ export const isIframeQuery = (event: any): event is IframeQuery<keyof IframeQuer
const result = iframeQueryMapTypeGuards[type].query(event.data); const result = iframeQueryMapTypeGuards[type].query(event.data);
if (!result) { if (!result) {
console.warn('Received a query with type "' + type + '" but the payload is invalid.'); console.warn('Received a query with type "' + type + '" but the payload is invalid.');
console.log(event);
} }
return result; return result;
}; };