From 662b6f5401c0ac91e6acd16c85cd8b7adf92bdb1 Mon Sep 17 00:00:00 2001 From: Helena Standaert Date: Fri, 19 Jan 2024 13:55:27 +0100 Subject: [PATCH] UIT-231: Make sure the ProfileNotFound route is always available --- src/_routing/_components/RootStackNavigator.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/_routing/_components/RootStackNavigator.tsx b/src/_routing/_components/RootStackNavigator.tsx index d049380b..f529fe81 100644 --- a/src/_routing/_components/RootStackNavigator.tsx +++ b/src/_routing/_components/RootStackNavigator.tsx @@ -73,6 +73,9 @@ export const RootStackNavigator = () => { {!isAuthenticated && !isPolicyApprovedInStorage && } {isAuthenticated && versions?.isBehindMinVersion && } {!isAuthenticated && } + {isAuthenticated && ( + + )} {isAuthenticated && showFamilyOnboarding && ( @@ -154,7 +157,6 @@ export const RootStackNavigator = () => { })} /> -