Coming from #73970
Needs https://github.com/Expensify/Auth/pull/18282 to be merged to be worked on
- In App, refactor
isAwaitingFirstLevelApproval to follow this logic in Auth, removing the dependency on all report transactions.
- Refactor canDeleteTransaction to be a pure function
- In App, remove canDelete
- Run
npm run typecheck. Fix any errors by replacing the calls to transaction.canDelete with canDeleteTransaction
After you are done, please post a message in #73970 so we can do step 7
Issue Owner
Current Issue Owner: @dylanexpensify
Coming from #73970
Needs https://github.com/Expensify/Auth/pull/18282 to be merged to be worked on
isAwaitingFirstLevelApprovalto follow this logic in Auth, removing the dependency on all report transactions.npm run typecheck. Fix any errors by replacing the calls totransaction.canDeletewith canDeleteTransactionAfter you are done, please post a message in #73970 so we can do step 7
Issue Owner
Current Issue Owner: @dylanexpensify