Skip to content

Commit 0173203

Browse files
committed
TableBody: Run prettier
1 parent befca51 commit 0173203

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

components/lib/datatable/TableBody.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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;

0 commit comments

Comments
 (0)