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 763b26d commit 62a56d9Copy full SHA for 62a56d9
src/Navigation.js
@@ -148,10 +148,14 @@ function clearEventHandler(navigatorEventID) {
148
}
149
150
function handleDeepLink(params = {}) {
151
- if (!params.link) return;
+ const { link, payload } = params;
152
+
153
+ if (!link) return;
154
155
const event = {
156
type: 'DeepLink',
- link: params.link
157
+ link,
158
+ ...(payload ? { payload } : {})
159
};
160
for (let i in _allNavigatorEventHandlers) {
161
_allNavigatorEventHandlers[i](event);
0 commit comments