diff --git a/app/client/src/sagas/ActionExecutionSagas.ts b/app/client/src/sagas/ActionExecutionSagas.ts index 8a1c81e21d..2677072f35 100644 --- a/app/client/src/sagas/ActionExecutionSagas.ts +++ b/app/client/src/sagas/ActionExecutionSagas.ts @@ -621,7 +621,8 @@ function* executePageLoadAction(pageAction: PageAction) { PerformanceTransactionName.EXECUTE_PAGE_LOAD_ACTIONS, ); const pageId = yield select(getCurrentPageId); - const currentApp: ApplicationPayload = yield select(getCurrentApplication); + const currentApp: ApplicationPayload = yield select(getCurrentApplication) || + {}; yield put(executeApiActionRequest({ id: pageAction.id })); const params: Property[] = yield call( getActionParams,