"use client"

import { BarChart3 } from "lucide-react"

import { EmptyState } from "@/shared/components/ui/empty-state"

export default function AdminErrorBookError() {
  return (
    <div className="p-8">
      <EmptyState
        icon={BarChart3}
        title="加载全校错题分析失败"
        description="发生了一些错误，请刷新页面重试。"
        action={{ label: "刷新页面", onClick: () => window.location.reload() }}
        className="border-none shadow-none"
      />
    </div>
  )
}
