"use client" import { AlertCircle } from "lucide-react" import { useTranslations } from "next-intl" import { EmptyState } from "@/shared/components/ui/empty-state" /** * student/learning/assignments/error.tsx * 学生作业列表错误边界。 */ export default function StudentAssignmentsListError({ reset }: { error: Error & { digest?: string }; reset: () => void }) { const t = useTranslations("examHomework") return (