Skip to content

Commit

Permalink
Fix bad null check in DevTools highlight code (facebook#20010)
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Vaughn authored and koto committed Jun 15, 2021
1 parent 00dc098 commit 40aa5e3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ export default function setupHighlighter(
}

let nodes: ?Array<HTMLElement> = null;
if (renderer !== null) {
if (renderer != null) {
nodes = ((renderer.findNativeNodesForFiberID(
id,
): any): ?Array<HTMLElement>);
Expand Down

0 comments on commit 40aa5e3

Please sign in to comment.