File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -193,8 +193,8 @@ export const TableBody = React.memo(
193193 } ;
194194
195195 const getProcessedDataIndex = ( rowIndex ) => {
196- return props . lazy ? rowIndex - props . first : rowIndex
197- }
196+ return props . lazy ? rowIndex - props . first : rowIndex ;
197+ } ;
198198
199199 const findIndex = ( collection , rowData ) => {
200200 return ( collection || [ ] ) . findIndex ( ( data ) => equals ( rowData , data ) ) ;
@@ -344,7 +344,7 @@ export const TableBody = React.memo(
344344 const anchorRowIndexInProcessedData = getProcessedDataIndex ( anchorRowIndex . current ) ;
345345
346346 if ( rangeRowIndexInProcessedData > anchorRowIndexInProcessedData ) {
347- rangeStart = anchorRowIndexInProcessedData
347+ rangeStart = anchorRowIndexInProcessedData ;
348348 rangeEnd = rangeRowIndexInProcessedData ;
349349 } else if ( rangeRowIndexInProcessedData < anchorRowIndexInProcessedData ) {
350350 rangeStart = rangeRowIndexInProcessedData ;
You can’t perform that action at this time.
0 commit comments