- Add SM2 algorithm implementation with tests for spaced repetition review scheduling - Add data-access, schema, types, and server actions for error book CRUD - Add components: add dialog, class overview, filters, item card, stats cards, review buttons, top wrong questions - Add error-book routes for admin, teacher, parent, and student roles - Add i18n messages (en, zh-CN) for error book module
20 lines
521 B
TypeScript
20 lines
521 B
TypeScript
"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>
|
|
)
|
|
}
|