Skip to content

Commit

Permalink
refactor: remove not needed Onyx.connect for Report collection
Browse files Browse the repository at this point in the history
  • Loading branch information
hurali97 committed Mar 27, 2024
1 parent 1c4e005 commit c4b6d85
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/libs/OptionsListUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -244,15 +244,6 @@ Onyx.connect({
},
});

let allReports: OnyxCollection<Report> = {};
Onyx.connect({
key: ONYXKEYS.COLLECTION.REPORT,
waitForCollectionCallback: true,
callback: (reports) => {
allReports = reports;
},
});

let allTransactions: OnyxCollection<Transaction> = {};
Onyx.connect({
key: ONYXKEYS.COLLECTION.TRANSACTION,
Expand Down

0 comments on commit c4b6d85

Please sign in to comment.