'use client'

import { AuthGuard } from '@/components/auth-guard'
import { SupplierOrdersDashboard } from '@/components/supplier-orders/supplier-orders-dashboard'
import { useRoleGuard } from '@/hooks/useRoleGuard'

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

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