diff --git a/frontend/src/components/CodeEditorV2.tsx b/frontend/src/components/CodeEditorV2.tsx index b04559c2ce..e5a280dd14 100644 --- a/frontend/src/components/CodeEditorV2.tsx +++ b/frontend/src/components/CodeEditorV2.tsx @@ -27,6 +27,7 @@ export const CodeEditor = ({ schema?: string readOnly?: boolean onChange?: (text: string) => void + // A "Reset" button will be shown if and only if this prop is provided. defaultContent?: string }) => { const { isDarkMode } = useUserPreferences()