Skip to content

Commit 8cbc7b9

Browse files
Revert unintended comment change in findLastAccessedReport
The JSDoc comment for findLastAccessedReport was mistakenly modified during a copy/paste. Reverting to original which correctly references Onyx.connectWithoutView(). Co-authored-by: Cursor <[email protected]>
1 parent 89b9897 commit 8cbc7b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libs/ReportUtils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2266,7 +2266,7 @@ function getMostRecentlyVisitedReport(reports: Array<OnyxEntry<Report>>, reportM
22662266

22672267
/**
22682268
* This function is used to find the last accessed report and we don't need to subscribe the data in the UI.
2269-
* So please use `Onyx.connect()` to get the necessary data when we remove the `Onyx.connect()`
2269+
* So please use `Onyx.connectWithoutView()` to get the necessary data when we remove the `Onyx.connect()`
22702270
*/
22712271
function findLastAccessedReport(ignoreDomainRooms: boolean, openOnAdminRoom = false, policyID?: string, excludeReportID?: string): OnyxEntry<Report> {
22722272
// If it's the user's first time using New Expensify, then they could either have:

0 commit comments

Comments
 (0)