'use client'

import { useEffect } from 'react'
import { useRouter } from 'next/navigation'

export default function AdminRegistrationsRedirectPage() {
  const router = useRouter()

  useEffect(() => {
    router.replace('/admin/events/checkin')
  }, [router])

  return (
    <main className="grid min-h-screen place-items-center bg-[#f5f7fb] px-6">
      <div className="text-sm font-extrabold text-muted">正在打开现场核销工作台...</div>
    </main>
  )
}
