'use client'

import { AuthGuard } from '@/components/auth-guard'
import { WholesaleHomePage } from '@/components/home/wholesale-home-page'
import { useRoleGuard } from '@/hooks/useRoleGuard'

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

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