···1111 type ViewStyle,
1212} from 'react-native'
1313import {sanitizeUrl} from '@braintree/sanitize-url'
1414+import {StackActions} from '@react-navigation/native'
14151516import {
1617 type DebouncedNavigationProp,
+1-1
src/view/shell/desktop/LeftNav.tsx
···350350 } else {
351351 const [screen, params] = router.matchPath(href)
352352 // @ts-expect-error TODO: type matchPath well enough that it can be plugged into navigation.navigate directly
353353- navigation.popTo(screen, params)
353353+ navigation.navigate(screen, params, {pop: true})
354354 }
355355 },
356356 [navigation, href, isCurrent],