diff --git a/src/hooks/useFlexLayout.js b/src/hooks/useFlexLayout.js index dd4e45a..8acc509 100755 --- a/src/hooks/useFlexLayout.js +++ b/src/hooks/useFlexLayout.js @@ -61,19 +61,11 @@ export const useFlexLayout = props => { boxSizing: 'border-box', ...getStylesForColumn(column, columnMeasurements, defaultFlex, api), }, - // [refKey]: el => { - // renderedCellInfoRef.current[key] = { - // column, - // el - // }; - // }, })) getCellProps.push(cell => { return { style: { - // display: 'block', - // boxSizing: 'border-box', ...getStylesForColumn( cell.column, columnMeasurements, @@ -82,12 +74,6 @@ export const useFlexLayout = props => { api ), }, - // [refKey]: el => { - // renderedCellInfoRef.current[columnPathStr] = { - // column, - // el - // }; - // } } }) @@ -151,4 +137,4 @@ function getSizesForColumn( : getFirstDefined(width, minWidth, defaultFlex), maxWidth, } -} \ No newline at end of file +}