Skip to content

Commit

Permalink
merge: fix-drn
Browse files Browse the repository at this point in the history
  • Loading branch information
human committed Jan 8, 2025
1 parent 7514f39 commit 2fcd799
Showing 1 changed file with 4 additions and 23 deletions.
27 changes: 4 additions & 23 deletions packages/api-proxy/src/platform/api/route/index.ios.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,18 +48,10 @@ const transitionEndCallback = function (callback) {
}

function navigateTo (options = {}) {
<<<<<<< HEAD
if (toPending) {
return
}
toPending = true
=======
// if (toPending) {
// return
// }
// toPending = true
const navigation = Object.values(global.__mpxPagesMap || {})[0]?.[1]
>>>>>>> 1941c56cb5f08268746e6235fa4330d6b99577a9
const navigationHelper = global.__navigationHelper
const navigation = Object.values(global.__mpxPagesMap || {})[0]?.[1]
if (navigation && navigationHelper) {
Expand All @@ -82,17 +74,10 @@ function navigateTo (options = {}) {
}
}
function redirectTo (options = {}) {
<<<<<<< HEAD
if (redirectPending) {
return
}
redirectPending = true
=======
// if (redirectPending) {
// return
// }
// redirectPending = true
>>>>>>> 1941c56cb5f08268746e6235fa4330d6b99577a9
const navigation = Object.values(global.__mpxPagesMap || {})[0]?.[1]
const navigationHelper = global.__navigationHelper
if (navigation && navigationHelper) {
Expand All @@ -114,15 +99,11 @@ function redirectTo (options = {}) {
})
}
}
<<<<<<< HEAD
=======
// let backPending = false
>>>>>>> 1941c56cb5f08268746e6235fa4330d6b99577a9
function navigateBack (options = {}) {
// if (backPending) {
// return
// }
// backPending = true
if (backPending) {
return
}
backPending = true
const navigation = Object.values(global.__mpxPagesMap || {})[0]?.[1]
const navigationHelper = global.__navigationHelper
if (navigation && navigationHelper) {
Expand Down

0 comments on commit 2fcd799

Please sign in to comment.