From c03b8a0958056dfe1c0dd195f8f1136af1ce53e3 Mon Sep 17 00:00:00 2001 From: mikheykinnv Date: Thu, 17 Oct 2024 16:42:32 +0800 Subject: [PATCH] MSP-3423 refactor EditorCode --- src/components/ConfigurationEditorCode/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/ConfigurationEditorCode/index.tsx b/src/components/ConfigurationEditorCode/index.tsx index 6255a19..27667c2 100644 --- a/src/components/ConfigurationEditorCode/index.tsx +++ b/src/components/ConfigurationEditorCode/index.tsx @@ -1,5 +1,4 @@ import { FC, useContext } from 'react' -import { ConfigurationEditorPropsType } from '@pages/ConfigurationEditorPage' import Editor, { loader } from '@monaco-editor/react' import { ConfigType } from '@pages/ModulesPage/module.type.ts' import { Context } from '@stores/index.tsx' @@ -10,6 +9,7 @@ import jsonWorker from 'monaco-editor/esm/vs/language/json/json.worker?worker'; import cssWorker from 'monaco-editor/esm/vs/language/css/css.worker?worker'; import htmlWorker from 'monaco-editor/esm/vs/language/html/html.worker?worker'; import tsWorker from 'monaco-editor/esm/vs/language/typescript/ts.worker?worker'; +import { ConfigurationEditorPropsType } from '@pages/ConfigurationEditorPage/ConfigurationEditor.type.ts' const ConfigurationEditorCode: FC = ({setDisableBtn= () => {}, bufConfig, setBufConfig }) => { const { changeTheme } = useContext(Context)