Skip to content

Commit

Permalink
refactor: remove unwanted pagination method
Browse files Browse the repository at this point in the history
  • Loading branch information
mananjadhav committed Jul 28, 2022
1 parent 719a477 commit 0352b63
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions src/libs/actions/Report.js
Original file line number Diff line number Diff line change
Expand Up @@ -672,18 +672,6 @@ function fetchActions(reportID) {
});
}

/**
* Get the actions of a report during pagination
*
* @param {Number} reportID
* @param {Number} [offset]
*/
function fetchActionsWithPagination(reportID, offset) {
Onyx.set(ONYXKEYS.IS_LOADING_MORE_REPORT_ACTIONS, true);
fetchActions(reportID, offset)
.finally(() => Onyx.set(ONYXKEYS.IS_LOADING_MORE_REPORT_ACTIONS, false));
}

/**
* Get the initial actions of a report
*
Expand Down Expand Up @@ -1620,7 +1608,6 @@ export {
navigateToConciergeChat,
handleInaccessibleReport,
setReportWithDraft,
fetchActionsWithPagination,
fetchInitialActions,
createPolicyRoom,
renameReport,
Expand Down

0 comments on commit 0352b63

Please sign in to comment.