Fix native-only function being called on web (#9904)

This commit is contained in:
Samuel Newman
2026-02-18 17:46:45 +00:00
committed by GitHub
parent 41b3742365
commit 98d17fd950
+2 -1
View File
@@ -885,7 +885,6 @@ function RoutesContainer({children}: React.PropsWithChildren<{}>) {
const emailDialogControl = useEmailDialogControl()
const closeAllActiveElements = useCloseAllActiveElements()
const linkingUrl = Linking.useLinkingURL()
const notificationResponse = Notifications.useLastNotificationResponse()
/**
* Handle navigation to a conversation, or prepares for account switch.
@@ -926,6 +925,8 @@ function RoutesContainer({children}: React.PropsWithChildren<{}>) {
// intent urls are handled by `useIntentHandler`
if (linkingUrl) return
const notificationResponse = Notifications.getLastNotificationResponse()
if (notificationResponse) {
notyLogger.debug(`handlePushNotificationEntry: response`, {
response: notificationResponse,