Skip to content

Commit

Permalink
fix last-visible bug
Browse files Browse the repository at this point in the history
  • Loading branch information
pan-kot committed Jul 24, 2023
1 parent b9042a5 commit cc65a75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/table/use-column-widths.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ class ColumnWidthsStore extends AsyncStore<ColumnWidthsState> {
return { visibleColumns, columnWidths, totalWidth };
});
}
this.lastVisible = visibleColumns.map(column => column.id);
}
this.lastVisible = visibleColumns.map(column => column.id);
};

updateColumnWidth = (columnId: PropertyKey, newWidth: number) => {
Expand Down

0 comments on commit cc65a75

Please sign in to comment.