Skip to content

Commit

Permalink
replaced with unshift
Browse files Browse the repository at this point in the history
  • Loading branch information
gedu committed Sep 27, 2024
1 parent 703957d commit 7d90d66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libs/actions/PersistedRequests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ function rollbackOngoingRequest() {
}

// Prepend ongoingRequest to persistedRequests
persistedRequests = [ongoingRequest, ...persistedRequests];
persistedRequests.unshift(ongoingRequest);

// Clear the ongoingRequest
ongoingRequest = null;
Expand Down

0 comments on commit 7d90d66

Please sign in to comment.