From db0379843ee020183d6e2f37e70f9e064a7624e8 Mon Sep 17 00:00:00 2001 From: LucasBeneston Date: Thu, 9 Jan 2025 13:36:46 +0100 Subject: [PATCH] (BSR) feat(navigator): fix path in tabNavigator --- src/ui/components/touchableLink/InternalTouchableLink.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/components/touchableLink/InternalTouchableLink.tsx b/src/ui/components/touchableLink/InternalTouchableLink.tsx index dd411a1de64..5e7c6934a1b 100644 --- a/src/ui/components/touchableLink/InternalTouchableLink.tsx +++ b/src/ui/components/touchableLink/InternalTouchableLink.tsx @@ -14,7 +14,7 @@ export const InternalTouchableLink: FunctionComponent { // 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() const { screen, params, fromRef, withPush, withReset } = navigateTo