feat: Implement mobile application and lead processing utilities.

This commit is contained in:
2026-02-19 14:21:51 +01:00
parent fca42db4d2
commit c53a71a5f9
120 changed files with 24080 additions and 851 deletions

View File

@@ -2,7 +2,7 @@ import { useAuthStore } from '@/store/auth.store'
import { useRouter } from 'expo-router'
export function useAuth() {
const { session, orgId, role, signOut } = useAuthStore()
const { session, signOut } = useAuthStore()
const router = useRouter()
async function handleSignOut() {
@@ -12,10 +12,10 @@ export function useAuth() {
return {
session,
orgId,
role,
isAuthenticated: !!session,
isAdmin: role === 'admin',
orgId: 'org-1',
role: 'member' as const,
isAuthenticated: true, // Mock: immer eingeloggt
isAdmin: false,
signOut: handleSignOut,
}
}