diff --git a/components/ui/diff-editor.tsx b/components/ui/diff-editor.tsx
index c0dd77c..e1da991 100644
--- a/components/ui/diff-editor.tsx
+++ b/components/ui/diff-editor.tsx
@@ -4,25 +4,18 @@ import { ComponentProps } from "react";
import { DiffEditor as MonacoDiffEditor } from "@monaco-editor/react";
import { useTheme } from "next-themes";
-// @ts-expect-error react 19 beta error
export type DiffEditorProps = ComponentProps;
-// @ts-expect-error react 19 beta error
export const DiffEditor = ({ options, theme, ...props }: DiffEditorProps) => {
const { theme: appTheme } = useTheme();
const themeToUse = theme ?? (appTheme === "light" ? "light" : "vs-dark");
return (
- // @ts-expect-error react 19 beta error
;
/**
@@ -13,25 +12,19 @@ export type EditorProps = ComponentProps;
* @see https://github.com/suren-atoyan/monaco-react/issues/346
*
*/
-// @ts-expect-error react 19 beta error
export const Editor = ({ options, theme, ...props }: EditorProps) => {
const { theme: appTheme } = useTheme();
const themeToUse = theme ?? (appTheme === "light" ? "light" : "vs-dark");
return (
- // @ts-expect-error react 19 beta error