Skip to content

Commit

Permalink
(BSR) feat(navigator): fix path in tabNavigator (#7494)
Browse files Browse the repository at this point in the history
  • Loading branch information
lbeneston-pass authored Jan 9, 2025
1 parent c26b04e commit cb18633
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui/components/touchableLink/InternalTouchableLink.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export const InternalTouchableLink: FunctionComponent<InternalTouchableLinkProps
...rest
}) => {
// We use nullish operator here because TabBar uses InternalTouchableLink but navigateTo is undefined during launch
const internalLinkProps = useLinkProps({ to: navigateTo.screen ?? '' })
const internalLinkProps = useLinkProps({ to: navigateTo ?? '' })
const { navigate, push, reset } = useNavigation<UseNavigationType>()
const { screen, params, fromRef, withPush, withReset } = navigateTo

Expand Down

0 comments on commit cb18633

Please sign in to comment.