Skip to content

Commit

Permalink
fix a typo in the initialNumToRenderOrDefault description's comment (#…
Browse files Browse the repository at this point in the history
…36110)

Summary:
Fix typo in the initialNumToRenderOrDefault description's comment : function's parameter should be this.props.initialNumToRender instead of this.props.initialNumToRenderOrDefault

## Changelog
[GENERAL] [FIXED] - Fixed typo in the initialNumToRenderOrDefault description's comment

Pull Request resolved: #36110

Test Plan: Typo in a comment - no testing required

Reviewed By: christophpurrer

Differential Revision: D43160548

Pulled By: cortinico

fbshipit-source-id: 0555c7752102f431fb327b920434faaf4de4ff81
  • Loading branch information
ellouzeskandercs authored and facebook-github-bot committed Feb 10, 2023
1 parent 81e7f2f commit ba7f9b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/virtualized-lists/Lists/VirtualizedList.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ function horizontalOrDefault(horizontal: ?boolean) {
return horizontal ?? false;
}

// initialNumToRenderOrDefault(this.props.initialNumToRenderOrDefault)
// initialNumToRenderOrDefault(this.props.initialNumToRender)
function initialNumToRenderOrDefault(initialNumToRender: ?number) {
return initialNumToRender ?? 10;
}
Expand Down

0 comments on commit ba7f9b4

Please sign in to comment.