'use client'

import { AuthGuard } from '@/components/auth-guard'
import { WarehouseDashboard } from '@/components/warehouse/warehouse-dashboard'
import { useRoleGuard } from '@/hooks/useRoleGuard'

export default function WholesaleWarehousePage() {
  useRoleGuard('WHOLESALE')

  return (
    <AuthGuard>
      <WarehouseDashboard />
    </AuthGuard>
  )
}
