Skip to content

Commit 7559722

Browse files
author
Brian Vaughn
authored
Fix bad null check in DevTools highlight code (facebook#20010)
1 parent 7e405d4 commit 7559722

File tree

1 file changed

+1
-1
lines changed
  • packages/react-devtools-shared/src/backend/views/Highlighter

1 file changed

+1
-1
lines changed

packages/react-devtools-shared/src/backend/views/Highlighter/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ export default function setupHighlighter(
103103
}
104104

105105
let nodes: ?Array<HTMLElement> = null;
106-
if (renderer !== null) {
106+
if (renderer != null) {
107107
nodes = ((renderer.findNativeNodesForFiberID(
108108
id,
109109
): any): ?Array<HTMLElement>);

0 commit comments

Comments
 (0)