diff --git a/src/app/Navigation/Navigation.tsx b/src/app/Navigation/Navigation.tsx index 622c37dd216..aac1e9a797f 100644 --- a/src/app/Navigation/Navigation.tsx +++ b/src/app/Navigation/Navigation.tsx @@ -8,7 +8,6 @@ import { AuthenticatedRoutes, AuthenticatedRoutesParams, } from "app/Navigation/AuthenticatedRoutes/Tabs" -import { UnauthenticatedRoutesParams } from "app/Navigation/UnauthenticatedRoutes" import { OnboardingWelcomeScreens } from "app/Scenes/Onboarding/Onboarding" import { GlobalStore } from "app/store/GlobalStore" import { routingInstrumentation } from "app/system/errorReporting/setupSentry" @@ -22,7 +21,7 @@ import { Fragment } from "react" import { Platform } from "react-native" import SiftReactNative from "sift-react-native" -export type NavigationRoutesParams = UnauthenticatedRoutesParams & AuthenticatedRoutesParams +export type NavigationRoutesParams = AuthenticatedRoutesParams export const MainStackNavigator = createNativeStackNavigator() diff --git a/src/app/Navigation/UnauthenticatedRoutes.tsx b/src/app/Navigation/UnauthenticatedRoutes.tsx deleted file mode 100644 index bdd5d4d2147..00000000000 --- a/src/app/Navigation/UnauthenticatedRoutes.tsx +++ /dev/null @@ -1,22 +0,0 @@ -import { createNativeStackNavigator } from "@react-navigation/native-stack" -import { MainStackNavigator } from "app/Navigation/Navigation" -import { LoginScreen } from "app/Navigation/_TO_BE_DELETED_Screens/LoginScreen" -import { SignUpScreen } from "app/Navigation/_TO_BE_DELETED_Screens/SignUpScreen" - -export type UnauthenticatedRoutesParams = { - Login: undefined - SignUp: undefined -} - -const UnauthenticatedStack = createNativeStackNavigator() - -export const UnauthenticatedRoutes = () => { - return ( - - - - - - - ) -} diff --git a/src/app/Navigation/_TO_BE_DELETED_Screens/LoginScreen.tsx b/src/app/Navigation/_TO_BE_DELETED_Screens/LoginScreen.tsx deleted file mode 100644 index b162a11e401..00000000000 --- a/src/app/Navigation/_TO_BE_DELETED_Screens/LoginScreen.tsx +++ /dev/null @@ -1,23 +0,0 @@ -import { Button, Flex, Spacer, Text } from "@artsy/palette-mobile" -import { NavigationProp, useNavigation } from "@react-navigation/native" -import { UnauthenticatedRoutesParams } from "app/Navigation/UnauthenticatedRoutes" - -export const LoginScreen: React.FC = () => { - const navigation = useNavigation>() - - return ( - - Login - - - - - - ) -} diff --git a/src/app/Navigation/_TO_BE_DELETED_Screens/SignUpScreen.tsx b/src/app/Navigation/_TO_BE_DELETED_Screens/SignUpScreen.tsx deleted file mode 100644 index 2862aa6d4fd..00000000000 --- a/src/app/Navigation/_TO_BE_DELETED_Screens/SignUpScreen.tsx +++ /dev/null @@ -1,22 +0,0 @@ -import { Button, Flex, Spacer, Text } from "@artsy/palette-mobile" -import { NavigationProp, useNavigation } from "@react-navigation/native" -import { UnauthenticatedRoutesParams } from "app/Navigation/UnauthenticatedRoutes" - -export const SignUpScreen: React.FC = () => { - const navigation = useNavigation>() - return ( - - Sign Up - - - - - - ) -}