fix: resizing columns in cuesheet

This commit is contained in:
Carlos Valente
2025-07-03 18:05:49 +02:00
committed by Carlos Valente
parent 3ce5b42e05
commit 36223ff49f
2 changed files with 29 additions and 15 deletions
@@ -110,7 +110,9 @@ export default function CuesheetTable({ data, columns }: CuesheetTableProps) {
colSizes[`--col-${header.column.id}-size`] = header.column.getSize();
}
return colSizes;
}, [table]);
// 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.getState().columnSizingInfo, table.getState().columnSizing]);
return (
<>