Skip to content
This repository was archived by the owner on Jan 2, 2025. It is now read-only.

Commit f186798

Browse files
fix ts issue with file-icons-js import (#1220)
1 parent 9f5bae7 commit f186798

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

client/src/Project/CurrentTabContent/ChatTab/Input/InputCore.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import {
1111
useNodeViews,
1212
} from '@nytimes/react-prosemirror';
1313
import { schema as basicSchema } from 'prosemirror-schema-basic';
14+
// @ts-ignore
1415
import * as icons from 'file-icons-js';
1516
import { useTranslation } from 'react-i18next';
1617
import { InputEditorContent, ParsedQueryType } from '../../../../types/general';

client/src/Project/CurrentTabContent/ChatTab/Input/nodes.ts

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// @ts-ignore
12
import * as icons from 'file-icons-js';
23
import { type AttributeSpec, type NodeSpec } from 'prosemirror-model';
34
import { getFileExtensionForLang, splitPath } from '../../../../utils';

0 commit comments

Comments
 (0)