Skip to content

Commit

Permalink
Update early return condition
Browse files Browse the repository at this point in the history
  • Loading branch information
Mamaduka committed Dec 9, 2024
1 parent 39bc8c1 commit b53a3a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/data/src/components/use-select/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import useAsyncMode from '../async-mode-provider/use-async-mode';
const renderQueue = createQueue();

function warnOnUnstableReference( a, b ) {
if ( ! a && ! b ) {
if ( ! a || ! b ) {
return;
}

Expand Down

0 comments on commit b53a3a3

Please sign in to comment.