Skip to content

Commit 8ea04e6

Browse files
committed
Renames variable to better describe its purpose
1 parent 50886b3 commit 8ea04e6

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

app/client/src/sagas/ActionExecution/PluginActionSaga.ts

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1702,14 +1702,18 @@ export function* executePageUnloadActionsSaga() {
17021702
const span = startRootSpan("executePageUnloadActionsSaga");
17031703

17041704
try {
1705-
const pageActions: Action[] = yield select(getLayoutOnUnloadActions);
1706-
const actionCount = pageActions.length;
1705+
const pageOnUnloadActions: Action[] = yield select(
1706+
getLayoutOnUnloadActions,
1707+
);
1708+
const actionCount = pageOnUnloadActions.length;
17071709

17081710
setAttributesToSpan(span, { numActions: actionCount });
17091711

17101712
// Execute unload actions in parallel batches
17111713
yield all(
1712-
pageActions.map((action) => call(executeOnPageUnloadJSAction, action)),
1714+
pageOnUnloadActions.map((action) =>
1715+
call(executeOnPageUnloadJSAction, action),
1716+
),
17131717
);
17141718

17151719
// Publish success event after all actions are executed

0 commit comments

Comments
 (0)