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 0a2c3e0 commit d89f11cCopy full SHA for d89f11c
packages/webshell/src/hooks/useWebshell.ts
@@ -90,7 +90,7 @@ function useWebMessageBus(
90
reporter.dispatchWebLog(severity, identifier, body);
91
}
92
} else {
93
- typeof onMessage === 'function' && onMessage(nativeEvent);
+ typeof onMessage === 'function' && onMessage({ nativeEvent });
94
95
},
96
// eslint-disable-next-line react-hooks/exhaustive-deps
0 commit comments