Skip to content

Commit ca4029c

Browse files
limeburstclaude
andcommitted
control-plane: Fix build error by removing monaco-editor type import
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent db4e811 commit ca4029c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

control-plane/src/components/Editor.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
import React, { useCallback, useEffect, useRef, useState } from "react";
44
import MonacoEditor, { DiffEditor } from "@monaco-editor/react";
5-
import type { editor } from "monaco-editor";
65
import { useTheme } from "next-themes";
76
import { EDITABLE_FILE_EXTENSION_MAP } from "@/lib/const";
87
import { Button } from "@/components/ui/button";
@@ -38,7 +37,8 @@ export default function Editor({
3837
[setValue]
3938
);
4039

41-
const diffEditorRef = useRef<editor.IStandaloneDiffEditor | null>(null);
40+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
41+
const diffEditorRef = useRef<any>(null);
4242

4343
useEffect(() => {
4444
return () => {

0 commit comments

Comments
 (0)