Skip to content

Commit b2f4716

Browse files
committed
Fix type issue
1 parent 9bc0c72 commit b2f4716

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/assets/svg/index.ts

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
/// <reference types="vite-plugin-svgr/client" />
2+
13
import DarkModeSVG from './dark.svg?react';
24
import LightModeSVG from './light.svg?react';
35

src/components/Editor/components/MonacoEditor.tsx

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
import Editor from '@monaco-editor/react';
22
import Spinner from 'react-bootstrap/Spinner';
3-
import { SpectralLinter, applyErrorMarkers, useLocalStorageState } from '../../../utils';
3+
import { SpectralLinter, applyErrorMarkers } from '../../../utils';
44
import { Theme, EditorThemeData } from '../../../utils/theme.cont';
5-
import { useState } from 'react';
65

76
interface MonacoEditorTypes {
87
editorRef: any

0 commit comments

Comments
 (0)