编辑器资源本地化

This commit is contained in:
xintaofei
2026-03-15 16:08:44 +08:00
parent f3f6f9e2c8
commit 838185fe35
7 changed files with 18 additions and 1 deletions

View File

@@ -71,6 +71,8 @@ interface HunkPreviewLine {
marker: RowMarker
}
import "@/lib/monaco-local"
const MonacoEditor = dynamic(async () => import("@monaco-editor/react"), {
ssr: false,
})