Commit 84901f04 by G

navigate to the correct screen. add a todo to make sure i remove the sample code later

parent fa11aba1
......@@ -17,6 +17,7 @@ const HomeUserNotLoggedIn: MainStackScreenComponentProps<"homeUserNotLoggedIn">
navigation.replace("appBottomTabsNavigator");
}
// TODO :: Remove this test code for modals.
const modal = async () => {
try {
await myPromiseModal();
......@@ -64,7 +65,7 @@ const HomeUserNotLoggedIn: MainStackScreenComponentProps<"homeUserNotLoggedIn">
variant={"full"}
textVariants={"primary"}
label="Se connecter"
onPress={modal}
onPress={() => navigation.navigate("userLoginScreen")}
// onPress={() =>
// showModal(
// <InformationModal
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment