"use client"

import { BookX } from "lucide-react"

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

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