'use client'

import { AuthGuard } from '@/components/auth-guard'
import { WholesaleMessenger } from '@/components/messenger/wholesale-messenger'
import { useRoleGuard } from '@/hooks/useRoleGuard'

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

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