import { SignedIn, SignedOut, useUser } from '@clerk/clerk-expo';
import { SafeAreaView, Text, View } from 'react-native';

export default function Page() {
  const { user } = useUser()

  return (
    <SafeAreaView>
      <SignedIn>
        <Text>Hello {user?.emailAddresses[0].emailAddress}</Text>
      </SignedIn>
    </SafeAreaView>
  )
}