'use client'; import { useAuthStore } from '@/stores/auth-store'; import { useWorkspaceStore } from '@/stores/workspace-store'; export default function AppHeader() { const user = useAuthStore((state) => state.user); const currentWorkspace = useWorkspaceStore((state) => state.currentWorkspace); return (

{currentWorkspace?.name || 'Workspace'}

{currentWorkspace?.plan.toUpperCase()} Plan

{user?.name?.[0]?.toUpperCase() || 'U'}

{user?.name}

{user?.email}

); }