diff --git a/packages/frontend/src/components/editor/extensions/code/client.ts b/packages/frontend/src/components/editor/extensions/code/client.ts index 45d5e5818..5d9d480c3 100644 --- a/packages/frontend/src/components/editor/extensions/code/client.ts +++ b/packages/frontend/src/components/editor/extensions/code/client.ts @@ -4,4 +4,7 @@ import { ReactNodeViewRenderer } from '@tiptap/react'; import { CodeBlockComponent } from './code-block-component'; +// eslint-disable-next-line @typescript-eslint/ban-ts-comment +// @ts-expect-error +// TODO: Fix this export const renderReactNode = () => ReactNodeViewRenderer(CodeBlockComponent); diff --git a/packages/frontend/src/components/editor/extensions/files/client.tsx b/packages/frontend/src/components/editor/extensions/files/client.tsx index 5b0987e19..bb3b17064 100644 --- a/packages/frontend/src/components/editor/extensions/files/client.tsx +++ b/packages/frontend/src/components/editor/extensions/files/client.tsx @@ -60,4 +60,7 @@ const FileFromNextWithNode = ({ }; export const renderReactNode = () => + // eslint-disable-next-line @typescript-eslint/ban-ts-comment + // @ts-expect-error + // TODO: Fix this ReactNodeViewRenderer(FileFromNextWithNode); diff --git a/packages/frontend/src/components/icon/icon-client.tsx b/packages/frontend/src/components/icon/icon-client.tsx index 90f75dbbe..0cf9ebb52 100644 --- a/packages/frontend/src/components/icon/icon-client.tsx +++ b/packages/frontend/src/components/icon/icon-client.tsx @@ -13,6 +13,7 @@ export const IconClient = React.memo( return {name}; } + // eslint-disable-next-line @typescript-eslint/no-unsafe-argument const LucideIcon = dynamic(dynamicIconImports[name]); return ( diff --git a/packages/frontend/src/components/icon/icon.tsx b/packages/frontend/src/components/icon/icon.tsx index dde8a0cb0..b8fcbdfac 100644 --- a/packages/frontend/src/components/icon/icon.tsx +++ b/packages/frontend/src/components/icon/icon.tsx @@ -17,6 +17,7 @@ export const Icon = ({ className, name, ...props }: Props) => { ); } + // eslint-disable-next-line @typescript-eslint/no-unsafe-argument const LucideIcon = dynamic(dynamicIconImports[name]); // eslint-disable-next-line @typescript-eslint/ban-ts-comment