"use client"

import { useTranslations } from "next-intl"
import { BookOpen } from "lucide-react"
import { EmptyState } from "@/shared/components/ui/empty-state"

export default function StudentLessonPlansError() {
  const t = useTranslations("lessonPreparation")
  return (
    <div className="p-8">
      <EmptyState
        icon={BookOpen}
        title={t("error.loadFailed")}
        description={t("error.loadFailedDesc")}
        action={{ label: t("error.retry"), onClick: () => window.location.reload() }}
        className="border-none shadow-none"
      />
    </div>
  )
}
