feat: Implement mobile application and lead processing utilities.
This commit is contained in:
@@ -3,5 +3,8 @@ import { useAuthStore } from '@/store/auth.store'
|
||||
|
||||
export default function Index() {
|
||||
const session = useAuthStore((s) => s.session)
|
||||
return <Redirect href={session ? '/(app)/news' : '/(auth)/login'} />
|
||||
if (session) {
|
||||
return <Redirect href={'/(app)/home' as never} />
|
||||
}
|
||||
return <Redirect href="/(auth)/login" />
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user