Skip to content

Commit

Permalink
Fix: remove all Reports
Browse files Browse the repository at this point in the history
  • Loading branch information
dragnoir committed Mar 22, 2024
1 parent 34971cb commit a38370f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/libs/OptionsListUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -249,11 +249,9 @@ Onyx.connect({
});

const policyExpenseReports: OnyxCollection<Report> = {};
const allReports: OnyxCollection<Report> = {};
Onyx.connect({
key: ONYXKEYS.COLLECTION.REPORT,
callback: (report, key) => {
allReports[key] = report;
if (!ReportUtils.isPolicyExpenseChat(report)) {
return;
}
Expand Down

0 comments on commit a38370f

Please sign in to comment.