From c0e1115ed374d7a2893ad07c7261a56050dd80ba Mon Sep 17 00:00:00 2001 From: Vemparala Surya Vamsi Date: Fri, 20 Dec 2024 12:51:16 +0530 Subject: [PATCH] small fix --- .../sagas/ActionExecution/PluginActionSaga.ts | 20 ------------------- 1 file changed, 20 deletions(-) diff --git a/app/client/src/sagas/ActionExecution/PluginActionSaga.ts b/app/client/src/sagas/ActionExecution/PluginActionSaga.ts index fdc5fb83dc6..bbf434adef9 100644 --- a/app/client/src/sagas/ActionExecution/PluginActionSaga.ts +++ b/app/client/src/sagas/ActionExecution/PluginActionSaga.ts @@ -9,7 +9,6 @@ import { takeLatest, } from "redux-saga/effects"; import * as Sentry from "@sentry/react"; -import type { updateActionDataPayloadType } from "actions/pluginActionActions"; import { clearActionResponse, executePageLoadActions, @@ -104,7 +103,6 @@ import { EMPTY_RESPONSE } from "components/editorComponents/emptyResponse"; import type { AppState } from "ee/reducers"; import { DEFAULT_EXECUTE_ACTION_TIMEOUT_MS } from "ee/constants/ApiConstants"; import { evaluateActionBindings } from "sagas/EvaluationsSaga"; -import { evalWorker } from "utils/workerInstances"; import { isBlobUrl, parseBlobUrl } from "utils/AppsmithUtils"; import { getType, Types } from "utils/TypeHelpers"; import { matchPath } from "react-router"; @@ -152,7 +150,6 @@ import { getCurrentEnvironmentDetails, getCurrentEnvironmentName, } from "ee/selectors/environmentSelectors"; -import { EVAL_WORKER_ACTIONS } from "ee/workers/Evaluation/evalWorkerActions"; import { getIsActionCreatedInApp } from "ee/utils/getIsActionCreatedInApp"; import type { OtlpSpan } from "UITelemetry/generateTraces"; import { @@ -1656,22 +1653,6 @@ function* softRefreshActionsSaga() { yield put({ type: ReduxActionTypes.SWITCH_ENVIRONMENT_SUCCESS }); } -function* handleUpdateActionData( - action: ReduxAction, -) { - const { actionDataPayload, parentSpan } = action.payload; - - yield call( - evalWorker.request, - EVAL_WORKER_ACTIONS.UPDATE_ACTION_DATA, - actionDataPayload, - ); - - if (parentSpan) { - endSpan(parentSpan); - } -} - export function* watchPluginActionExecutionSagas() { yield all([ takeLatest(ReduxActionTypes.RUN_ACTION_REQUEST, runActionSaga), @@ -1685,6 +1666,5 @@ export function* watchPluginActionExecutionSagas() { ), takeLatest(ReduxActionTypes.PLUGIN_SOFT_REFRESH, softRefreshActionsSaga), takeEvery(ReduxActionTypes.EXECUTE_JS_UPDATES, makeUpdateJSCollection), - takeEvery(ReduxActionTypes.UPDATE_ACTION_DATA, handleUpdateActionData), ]); }