Skip to content

Commit

Permalink
fix remove lodash
Browse files Browse the repository at this point in the history
  • Loading branch information
dukenv0307 committed Feb 21, 2024
1 parent ca1dcf3 commit de91e54
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/libs/OptionsListUtils.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/* eslint-disable no-continue */
import Str from 'expensify-common/lib/str';
import _ from 'lodash';
// eslint-disable-next-line you-dont-need-lodash-underscore/get
import lodashGet from 'lodash/get';
import lodashOrderBy from 'lodash/orderBy';
Expand Down Expand Up @@ -1492,7 +1491,7 @@ function getOptions(
return;
}

if (_.isEmpty(accountIDs)) {
if (!accountIDs || accountIDs.length === 0) {
return;
}

Expand Down

0 comments on commit de91e54

Please sign in to comment.