diff --git a/src/table/use-column-widths.ts b/src/table/use-column-widths.ts index a4fe7e0264..08aa9175fd 100644 --- a/src/table/use-column-widths.ts +++ b/src/table/use-column-widths.ts @@ -85,8 +85,8 @@ class ColumnWidthsStore extends AsyncStore { return { visibleColumns, columnWidths, totalWidth }; }); } - this.lastVisible = visibleColumns.map(column => column.id); } + this.lastVisible = visibleColumns.map(column => column.id); }; updateColumnWidth = (columnId: PropertyKey, newWidth: number) => {