Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Commit

Permalink
Fix overly-restrictive null check
Browse files Browse the repository at this point in the history
  • Loading branch information
haltman-at committed Apr 7, 2022
1 parent b205201 commit cdeb6cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/debugger/lib/data/selectors/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -1135,7 +1135,7 @@ const data = createSelectorTree({
eventId: createLeaf(
["./node", "./compilationId"],
(eventNode, compilationId) => {
if (eventNode === null) {
if (!eventNode) {
return undefined;
}
switch (eventNode.nodeType) {
Expand Down

0 comments on commit cdeb6cd

Please sign in to comment.