Skip to content

Commit

Permalink
Fix bad null check in DevTools highlight code
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Vaughn committed Oct 13, 2020
1 parent 7e405d4 commit 4c8050f
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 4c8050f

Please sign in to comment.