Spaces:
Running

axeronis commited on
Commit
7d1dac7
·
1 Parent(s): c607ead

fix: restore missing auth variables in MobileNav.tsx

Browse files
Files changed (1) hide show
  1. frontend/components/MobileNav.tsx +1 -0
frontend/components/MobileNav.tsx CHANGED
@@ -13,6 +13,7 @@ import { api } from '@/lib/api'
13
  import { cn } from '@/lib/utils'
14
 
15
  export function MobileHeader({ onOpen }: { onOpen?: () => void }) {
 
16
  const [companyName, setCompanyName] = useState<string | null>(null)
17
  const [usageStats, setUsageStats] = useState<{
18
  plan: string
 
13
  import { cn } from '@/lib/utils'
14
 
15
  export function MobileHeader({ onOpen }: { onOpen?: () => void }) {
16
+ const { user, logout } = useAuth()
17
  const [companyName, setCompanyName] = useState<string | null>(null)
18
  const [usageStats, setUsageStats] = useState<{
19
  plan: string