Skip to content

Commit

Permalink
chore: Clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
aXenDeveloper committed Sep 18, 2024
1 parent e7243ac commit f55a201
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Original file line number Diff line number Diff line change
Expand Up @@ -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);
1 change: 1 addition & 0 deletions packages/frontend/src/components/icon/icon-client.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ export const IconClient = React.memo(
return <span className={className}>{name}</span>;
}

// eslint-disable-next-line @typescript-eslint/no-unsafe-argument
const LucideIcon = dynamic(dynamicIconImports[name]);

return (
Expand Down
1 change: 1 addition & 0 deletions packages/frontend/src/components/icon/icon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f55a201

Please sign in to comment.