import { useAuth } from "@clerk/expo"; import { AuthView, UserProfileView } from "@clerk/expo/native"; import { Redirect, Stack } from "expo-router"; import { View } from "react-native"; import { hasCloudPublicConfig } from "../../features/cloud/publicConfig"; export default function SettingsAuthRouteScreen() { return hasCloudPublicConfig() ? ( ) : ( ); } function ConfiguredSettingsAuthRouteScreen() { const { isLoaded, isSignedIn } = useAuth({ treatPendingAsSignedOut: false }); return ( <> {isLoaded ? ( isSignedIn ? ( ) : ( ) ) : null} ); }