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

don't use PropsWithChildren since we already specify a children type #130

Merged
merged 1 commit into from
Oct 2, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading