Update front/src/Api/Events/IframeEvent.ts
Co-authored-by: David Négrier <d.negrier@thecodingmachine.com>
This commit is contained in:
parent
66da11f854
commit
8a6ad40d6b
@ -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;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user