Carlos Martins
Carlos Martins
>@luacmartins Great! In that case, we are doing exactly that in this PR. Was this meant for @carlosmiceli?
I think we can do something [like this](https://github.com/Expensify/App/pull/52441/files#diff-577fcc5f3a5e4930916ff310e61c38edfa093792fe3ab55b9a30d2aecd8811dbR981-R986) to a lot of these functions so we can either pass a report object (from the ReportScreen or Search for example, or...
I think ultimately we want to extract them to make the component pure. For the Search case, we wouldn't need any of them so an empty function seems fine
>@luacmartins I'm aware that isCurrentUserTheOnlyParticipant connected to onyx to get currentUserAccountID but would that also break in the search result? if it will, how the BE will fill currentUserAccountID? That...
@wildan-m we have conflicts now
@allgandalf let's prioritize reviewing this one so we can move on to part 2
@wildan-m we have conflicts again 😞