'use client'

import { AuthGuard } from '@/components/auth-guard'
import { FulfillmentSuppliesLayout } from '@/components/fulfillment-supplies/fulfillment-supplies-layout'
import { useRoleGuard } from '@/hooks/useRoleGuard'

export default function FulfillmentSuppliesLayoutPage({ children }: { children: React.ReactNode }) {
  useRoleGuard('FULFILLMENT')

  return (
    <AuthGuard>
      <FulfillmentSuppliesLayout>{children}</FulfillmentSuppliesLayout>
    </AuthGuard>
  )
}
