diff --git a/website/src/components/CodeEditor/index.tsx b/website/src/components/CodeEditor/index.tsx index d240c0cc..209b0c73 100644 --- a/website/src/components/CodeEditor/index.tsx +++ b/website/src/components/CodeEditor/index.tsx @@ -6,7 +6,6 @@ export default function CodeEditor( props: Readonly<{ readOnly?: boolean; value?: string; - defaultValue?: string; onChange?: (value: string | undefined) => void; }> ) { @@ -15,7 +14,6 @@ export default function CodeEditor( return (
{Object.values(TrailingComma).map(option => ( - + ))} @@ -164,8 +164,10 @@ function Inner() {
- - + + {isFirstRun.current ? null : ( + + )}
);