Skip to content

Commit 40aa5e3

Browse files
Brian Vaughnkoto
Brian Vaughn
authored andcommitted
Fix bad null check in DevTools highlight code (facebook#20010)
1 parent 00dc098 commit 40aa5e3

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

+1-1
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)