@@ -2851,35 +2851,6 @@ function formatMemberForList(member: SearchOptionData): MemberForList {
28512851 } ;
28522852}
28532853
2854- /**
2855- * Build the options for the Workspace Member Invite view
2856- * This method will be removed. See https://github.com/Expensify/App/issues/66615 for more information.
2857- */
2858- function getMemberInviteOptions (
2859- personalDetails : Array < SearchOption < PersonalDetails > > ,
2860- nvpDismissedProductTraining : OnyxEntry < DismissedProductTraining > ,
2861- loginList : OnyxEntry < Login > ,
2862- currentUserAccountID : number ,
2863- currentUserEmail : string ,
2864- personalDetailsCollection : OnyxEntry < PersonalDetailsList > ,
2865- betas : Beta [ ] = [ ] ,
2866- excludeLogins : Record < string , boolean > = { } ,
2867- includeSelectedOptions = false ,
2868- countryCode : number = CONST . DEFAULT_COUNTRY_CODE ,
2869- ) : Options {
2870- return getValidOptions ( { personalDetails, reports : [ ] } , undefined , undefined , nvpDismissedProductTraining , loginList , currentUserAccountID , currentUserEmail , {
2871- betas,
2872- includeP2P : true ,
2873- excludeLogins,
2874- includeSelectedOptions,
2875- includeRecentReports : false ,
2876- searchString : '' ,
2877- maxElements : undefined ,
2878- personalDetails : personalDetailsCollection ,
2879- countryCode,
2880- } ) ;
2881- }
2882-
28832854/**
28842855 * Helper method that returns the text to be used for the header's message and title (if any)
28852856 */
@@ -3423,7 +3394,6 @@ export {
34233394 getLastActorDisplayNameFromLastVisibleActions ,
34243395 getLastMessageTextForReport ,
34253396 getManagerMcTestParticipant ,
3426- getMemberInviteOptions ,
34273397 getParticipantsOption ,
34283398 getPersonalDetailSearchTerms ,
34293399 getPersonalDetailsForAccountIDs ,
0 commit comments