Skip to content

Commit 7739431

Browse files
committed
Revert "Update QueryEditor.tsx"
This reverts commit 27987e4.
1 parent 5c6712e commit 7739431

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/QueryEditor.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@ export function QueryEditor(props: Props) {
1919
<FormatSelect
2020
query={props.query}
2121
options={SelectableFormatOptions}
22-
onChange={() => []}
22+
onChange={props.onChange}
2323
onRunQuery={props.onRunQuery}
2424
/>
2525
</div>
2626
<div style={{ minWidth: '400px', marginLeft: '10px', flex: 1 }}>
2727
<QueryCodeEditor
2828
language="sql"
2929
query={queryWithDefaults}
30-
onChange={() => []}
30+
onChange={props.onChange}
3131
onRunQuery={props.onRunQuery}
3232
getSuggestions={() => []}
3333
/>

0 commit comments

Comments
 (0)