Skip to content

Commit 9204829

Browse files
fabriziocuccipull[bot]
authored andcommitted
Drop stale comment in VirtualizedList (#42395)
Summary: Pull Request resolved: #42395 T46547044 has been closed and apparently `React.warn` was removed in [#16126](facebook/react#16126). Changelog: [Internal] Reviewed By: cortinico Differential Revision: D52907508 fbshipit-source-id: a3621d876f904339791ab184a904e81f7a50b988
1 parent ed59950 commit 9204829

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

packages/virtualized-lists/Lists/VirtualizedList.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1135,7 +1135,6 @@ class VirtualizedList extends StateSafePureComponent<Props, State> {
11351135
this.context == null &&
11361136
this.props.scrollEnabled !== false
11371137
) {
1138-
// TODO (T46547044): use React.warn once 16.9 is sync'd: https://github.com/facebook/react/pull/15170
11391138
console.error(
11401139
'VirtualizedLists should never be nested inside plain ScrollViews with the same ' +
11411140
'orientation because it can break windowing and other functionality - use another ' +

0 commit comments

Comments
 (0)