Skip to content

Commit

Permalink
remove unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
dukenv0307 committed Feb 28, 2024
1 parent 05ca961 commit 2419ba6
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/libs/SidebarUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ import * as TaskUtils from './TaskUtils';
import * as UserUtils from './UserUtils';

const visibleReportActionItems: ReportActions = {};
const lastReportActions: ReportActions = {};

Onyx.connect({
key: ONYXKEYS.COLLECTION.REPORT_ACTIONS,
Expand All @@ -34,7 +33,6 @@ Onyx.connect({
const reportID = CollectionUtils.extractCollectionItemID(key);

const actionsArray: ReportAction[] = ReportActionsUtils.getSortedReportActions(Object.values(actions));
lastReportActions[reportID] = actionsArray[actionsArray.length - 1];

// The report is only visible if it is the last action not deleted that
// does not match a closed or created state.
Expand Down

0 comments on commit 2419ba6

Please sign in to comment.