Skip to content

Commit 3c2421d

Browse files
committed
tidying up
Signed-off-by: Steve Cassidy <steve.cassidy@mq.edu.au>
1 parent e15963b commit 3c2421d

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/gui/components/notebook/record_table.tsx

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -377,10 +377,10 @@ function RecordsTable(props: RecordsTableProps) {
377377
getRowClassName={params => {
378378
return `${params.row.conflicts ? 'bg-warning' : ''}`;
379379
}}
380-
components={{
380+
slots={{
381381
Toolbar: NotebookDataGridToolbar,
382382
}}
383-
componentsProps={{
383+
slotProps={{
384384
filterPanel: {sx: {maxWidth: '96vw'}},
385385
toolbar: {
386386
handleQueryFunction: props.handleQueryFunction,
@@ -459,10 +459,6 @@ export function RecordsBrowseTable(props: RecordsBrowseTableProps) {
459459
getData();
460460
}, [props.project_id, query]);
461461

462-
if (DEBUG_APP) {
463-
console.debug('New records:', pouchData);
464-
}
465-
466462
const rows = pouchData ?? [];
467463
const loading = pouchData === undefined;
468464

0 commit comments

Comments
 (0)