fix(cuesheet): prevent stale column width on refresh

This commit is contained in:
Carlos Valente
2026-08-23 13:08:34 +02:00
committed by Carlos Valente
parent 805663e2ea
commit c19aa4ca28
2 changed files with 3 additions and 3 deletions
@@ -200,7 +200,7 @@ export default function CuesheetTable({
return colSizes;
// eslint-disable-next-line react-compiler/react-compiler -- unfortunately this is what we need
// eslint-disable-next-line react-hooks/exhaustive-deps -- this works well and follows documentation
}, [table.state.columnResizing, table.state.columnSizing]);
}, [columns, table.state.columnResizing, table.state.columnSizing]);
const allLeafColumns = table.getAllLeafColumns();
const { rows } = table.getRowModel();