Skip to content

Commit

Permalink
Push changes after prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhenjaHorbach committed Nov 2, 2023
1 parent ae4c7cb commit 27b5503
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/pages/iou/IOUCurrencySelection.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,8 @@ function IOUCurrencySelection(props) {
const searchRegex = new RegExp(Str.escapeForRegExp(searchValue.trim().replace(CONST.REGEX.ANY_SPACE, ' ')), 'i');
const filteredCurrencies = _.filter(
currencyOptions,
(currencyOption) => searchRegex.test(currencyOption.text.replace(CONST.REGEX.ANY_SPACE, ' ')) || searchRegex.test(currencyOption.currencyName.replace(CONST.REGEX.ANY_SPACE, ' ')),
(currencyOption) =>
searchRegex.test(currencyOption.text.replace(CONST.REGEX.ANY_SPACE, ' ')) || searchRegex.test(currencyOption.currencyName.replace(CONST.REGEX.ANY_SPACE, ' ')),
);
const isEmpty = searchValue.trim() && !filteredCurrencies.length;

Expand Down

0 comments on commit 27b5503

Please sign in to comment.