We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f643d0d commit fcb8543Copy full SHA for fcb8543
src/components/Retool.js
@@ -31,7 +31,7 @@ const Retool = ({ data, url, height, width, onData }) => {
31
event.data?.type !== "PARENT_WINDOW_QUERY" &&
32
event.data?.type !== 'intercom-snippet__ready'
33
) {
34
- onData(event.data);
+ onData?.(event.data);
35
}
36
37
if (event.data.type === "PARENT_WINDOW_QUERY") {
0 commit comments