diff --git a/examples/react/column-resizing-performant/src/main.tsx b/examples/react/column-resizing-performant/src/main.tsx index 79c16e3537..089060f209 100644 --- a/examples/react/column-resizing-performant/src/main.tsx +++ b/examples/react/column-resizing-performant/src/main.tsx @@ -105,7 +105,7 @@ function App() { colSizes[`--col-${header.column.id}-size`] = header.column.getSize() } return colSizes - }, [table.getState().columnSizingInfo]) + }, [table.getState().columnSizingInfo, table.getState().columnSizing]) //demo purposes const [enableMemo, setEnableMemo] = React.useState(true)