diff --git a/src/libs/OptionsListUtils.js b/src/libs/OptionsListUtils.js index ef8b3d2710c3..4408185ccde2 100644 --- a/src/libs/OptionsListUtils.js +++ b/src/libs/OptionsListUtils.js @@ -1403,7 +1403,7 @@ function getFilteredOptions( tags, recentlyUsedTags, canInviteUser, - includeSelectedOptions + includeSelectedOptions, }); } diff --git a/src/pages/NewChatPage.js b/src/pages/NewChatPage.js index c9508a1c8de3..37b8f0d30174 100755 --- a/src/pages/NewChatPage.js +++ b/src/pages/NewChatPage.js @@ -112,7 +112,7 @@ function NewChatPage({betas, isGroupChat, personalDetails, reports, translate, i } return sectionsList; - }, [translate, filteredPersonalDetails, filteredRecentReports, filteredUserToInvite, maxParticipantsReached, selectedOptions]); + }, [translate, filteredPersonalDetails, filteredRecentReports, filteredUserToInvite, maxParticipantsReached, selectedOptions, searchTerm]); /** * Removes a selected option from list if already selected. If not already selected add this option to the list. diff --git a/src/pages/iou/steps/MoneyRequstParticipantsPage/MoneyRequestParticipantsSelector.js b/src/pages/iou/steps/MoneyRequstParticipantsPage/MoneyRequestParticipantsSelector.js index eb92246a03ee..1263dd5db2b9 100755 --- a/src/pages/iou/steps/MoneyRequstParticipantsPage/MoneyRequestParticipantsSelector.js +++ b/src/pages/iou/steps/MoneyRequstParticipantsPage/MoneyRequestParticipantsSelector.js @@ -151,7 +151,7 @@ function MoneyRequestParticipantsSelector({ } return newSections; - }, [maxParticipantsReached, newChatOptions, participants, personalDetails, translate]); + }, [maxParticipantsReached, newChatOptions, participants, personalDetails, translate, searchTerm]); /** * Adds a single participant to the request