Skip to content
This repository has been archived by the owner on Dec 20, 2024. It is now read-only.

Commit

Permalink
Merge pull request #130 from grafana/ash/sql-editor-types
Browse files Browse the repository at this point in the history
don't use PropsWithChildren since we already specify a children type
  • Loading branch information
ivanahuckova authored Oct 2, 2024
2 parents c2f0e5a + cc2abfb commit d0c76e4
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 d0c76e4

Please sign in to comment.