Skip to content

Commit

Permalink
don't use PropsWithChildren since we already specify a children type
Browse files Browse the repository at this point in the history
  • Loading branch information
ashharrison90 committed Oct 1, 2024
1 parent c2f0e5a commit cc2abfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sql-editor/components/SQLEditor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export const SQLEditor = ({
language = { id: STANDARD_SQL_LANGUAGE },
width,
height,
}: React.PropsWithChildren<SQLEditorProps>) => {
}: SQLEditorProps) => {
const monacoRef = useRef<monacoTypes.editor.IStandaloneCodeEditor | null>(null);
const langUid = useRef<string>();
// create unique language id for each SQLEditor instance
Expand Down

0 comments on commit cc2abfb

Please sign in to comment.