import { Redirect } from 'expo-router'
import { useAuthStore } from '@/store/auth.store'

export default function Index() {
  const session = useAuthStore((s) => s.session)
  return <Redirect href={session ? '/(app)/news' : '/(auth)/login'} />
}
