Skip to content

Commit bcdbc8c

Browse files
committed
fix prettier
1 parent 718b6b7 commit bcdbc8c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Libraries/Lists/VirtualizedList.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,9 @@ class VirtualizedList extends React.PureComponent<Props, State> {
326326
const {animated, index, viewOffset, viewPosition} = params;
327327
invariant(
328328
index >= 0 && index < getItemCount(data),
329-
`scrollToIndex out of range: requested index ${index} but maximum is ${getItemCount(data) - 1}`,
329+
`scrollToIndex out of range: requested index ${index} but maximum is ${getItemCount(
330+
data,
331+
) - 1}`,
330332
);
331333
if (!getItemLayout && index > this._highestMeasuredFrameIndex) {
332334
invariant(

0 commit comments

Comments
 (0)