From 0a4a1a8fdd85a395c357be2a3eb2b900c361d667 Mon Sep 17 00:00:00 2001 From: brunovjk Date: Tue, 16 Apr 2024 18:38:18 -0300 Subject: [PATCH] run prettier --- src/pages/RoomInvitePage.tsx | 5 ++++- .../MoneyTemporaryForRefactorRequestParticipantsSelector.js | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/pages/RoomInvitePage.tsx b/src/pages/RoomInvitePage.tsx index da02c9818075..04508d0ad709 100644 --- a/src/pages/RoomInvitePage.tsx +++ b/src/pages/RoomInvitePage.tsx @@ -43,7 +43,10 @@ type RoomInvitePageOnyxProps = { /** Whether or not we are searching for reports on the server */ isSearchingForReports: OnyxEntry; }; -type RoomInvitePageProps = WithReportOrNotFoundProps & WithNavigationTransitionEndProps & RoomInvitePageOnyxProps & StackScreenProps; +type RoomInvitePageProps = WithReportOrNotFoundProps & + WithNavigationTransitionEndProps & + RoomInvitePageOnyxProps & + StackScreenProps; type Sections = Array>>; diff --git a/src/pages/iou/request/MoneyTemporaryForRefactorRequestParticipantsSelector.js b/src/pages/iou/request/MoneyTemporaryForRefactorRequestParticipantsSelector.js index bd5c6f2ba929..5126b08e6f11 100644 --- a/src/pages/iou/request/MoneyTemporaryForRefactorRequestParticipantsSelector.js +++ b/src/pages/iou/request/MoneyTemporaryForRefactorRequestParticipantsSelector.js @@ -58,7 +58,7 @@ const propTypes = { /** The action of the IOU, i.e. create, split, move */ action: PropTypes.oneOf(_.values(CONST.IOU.ACTION)), - + /** Whether or not we are searching for reports on the server */ isSearchingForReports: PropTypes.bool, }; @@ -381,7 +381,7 @@ function MoneyTemporaryForRefactorRequestParticipantsSelector({participants, onF Report.searchInServer(debouncedSearchTerm.trim()); }, [debouncedSearchTerm]); - const isAllSectionsEmpty = _.every(sections, (section) => section.data.length === 0); + const isAllSectionsEmpty = _.every(sections, (section) => section.data.length === 0); if ([CONST.IOU.ACTION.CATEGORIZE, CONST.IOU.ACTION.SHARE].includes(action) && isAllSectionsEmpty && didScreenTransitionEnd && searchTerm.trim() === '') { return renderEmptyWorkspaceView(); }