From cc2abfb3c5e0ade5a76e88574c208a103a0eb8ba Mon Sep 17 00:00:00 2001 From: Ashley Harrison Date: Tue, 1 Oct 2024 15:57:02 +0100 Subject: [PATCH] don't use PropsWithChildren since we already specify a children type --- src/sql-editor/components/SQLEditor.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sql-editor/components/SQLEditor.tsx b/src/sql-editor/components/SQLEditor.tsx index aa448c9..e78e226 100644 --- a/src/sql-editor/components/SQLEditor.tsx +++ b/src/sql-editor/components/SQLEditor.tsx @@ -78,7 +78,7 @@ export const SQLEditor = ({ language = { id: STANDARD_SQL_LANGUAGE }, width, height, -}: React.PropsWithChildren) => { +}: SQLEditorProps) => { const monacoRef = useRef(null); const langUid = useRef(); // create unique language id for each SQLEditor instance