settings: - Add actions-brand, brand-config, data-access-brand for brand management - Add admin-file-upload-card, admin-notification-config-card, admin-school-info-card, admin-security-policy-card - Add ai-provider-delete-dialog, ai-provider-selector, brand-config-card - Add security-recent-logins-section, security-two-factor-section - Add config/profile-overview-config, data-access-profile-overview, lib/system-settings-utils questions: - Add batch-operations, import-export-buttons, knowledge-point-selector, options-editor - Add question-bank-results-client, question-cascade-filter, question-content-renderer, utils school: - Add grade-delete-dialog, grade-form-dialog, grade-list-toolbar, grade-overview-cards - Add use-grade-data hook textbooks: - Add textbook-form-fields component - Add use-kp-create, use-kp-delete, use-kp-update hooks
26 lines
602 B
TypeScript
26 lines
602 B
TypeScript
"use client"
|
||
|
||
/**
|
||
* 设置页分区 Error Boundary
|
||
*
|
||
* 薄包装:委托给共享 SectionErrorBoundary,使用 common 命名空间。
|
||
* 保留同名导出以兼容现有 import。
|
||
*/
|
||
|
||
import type { ReactNode } from "react"
|
||
import { SectionErrorBoundary } from "@/shared/components/section-error-boundary"
|
||
|
||
interface SettingsSectionErrorBoundaryProps {
|
||
children: ReactNode
|
||
}
|
||
|
||
export function SettingsSectionErrorBoundary({
|
||
children,
|
||
}: SettingsSectionErrorBoundaryProps): ReactNode {
|
||
return (
|
||
<SectionErrorBoundary namespace="common">
|
||
{children}
|
||
</SectionErrorBoundary>
|
||
)
|
||
}
|