diff --git a/jupyterlab_bigquery/src/components/query_editor/query_text_editor/query_text_editor.tsx b/jupyterlab_bigquery/src/components/query_editor/query_text_editor/query_text_editor.tsx index 77a3178f..edf37ee4 100644 --- a/jupyterlab_bigquery/src/components/query_editor/query_text_editor/query_text_editor.tsx +++ b/jupyterlab_bigquery/src/components/query_editor/query_text_editor/query_text_editor.tsx @@ -200,7 +200,7 @@ function workerFunc(e, batchSize) { this.postMessage({ batch, finish: false }); } - this.postMessage({ batch: undefined, finish: true }); + this.postMessage({ batch: [], finish: true }); } class QueryTextEditor extends React.Component< @@ -633,7 +633,7 @@ class QueryTextEditor extends React.Component< return ( { + onClick={() => { const query = this.editor.getValue(); copy(query.trim()); this.props.openSnackbar({ diff --git a/jupyterlab_bigquery/src/components/shared/bq_table.tsx b/jupyterlab_bigquery/src/components/shared/bq_table.tsx index 2391c11a..6d80fa72 100644 --- a/jupyterlab_bigquery/src/components/shared/bq_table.tsx +++ b/jupyterlab_bigquery/src/components/shared/bq_table.tsx @@ -191,7 +191,7 @@ export class BQTable extends React.Component { const fields = ['Row', ...this.props.fields]; return ( - <> +
{ component="div" /> )} - + ); } }