arithematic to logical OR

This commit is contained in:
Ron Rennick 2021-11-09 16:41:44 -04:00
parent eeb331f160
commit 93b9745b80
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ const updateCustomerBilling = async () => {
search: 'Jane',
role: 'all',
} );
if ( ! customers.data | ! customers.data.length ) {
if ( ! customers.data || ! customers.data.length ) {
return;
}