chore: Revert "fix: Add mode property to forkApplicationSaga" (#35873)

## Description
Reverts https://github.com/appsmithorg/appsmith/pull/35841

## Automation

/ok-to-test tags="@tag.All"

### 🔍 Cypress test results
<!-- This is an auto-generated comment: Cypress test results  -->
> [!TIP]
> 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
> Workflow run:
<https://github.com/appsmithorg/appsmith/actions/runs/10555144301>
> Commit: f01f27d5b79a3b99b619e39816d6660e8dbc2ba7
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=10555144301&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.All`
> Spec:
> <hr>Mon, 26 Aug 2024 08:05:27 UTC
<!-- end of auto-generated comment: Cypress test results  -->


## Communication
Should the DevRel and Marketing teams inform users about this change?
- [ ] Yes
- [ ] No
This commit is contained in:
Rudraprasad Das 2024-08-26 16:30:00 +08:00 committed by GitHub
parent 2af307f5ed
commit 4d7db9e70c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 0 additions and 3 deletions

View File

@ -688,7 +688,6 @@ export function* forkApplicationSaga(
payload: {
applicationId: application.id,
pageId: defaultPage?.id,
mode: APP_MODE.EDIT,
},
});
}

View File

@ -61,8 +61,6 @@ export const pageListReducer = createReducer(initialState, {
...action.payload,
defaultPageId: defaultPage?.pageId,
defaultBasePageId: defaultPage?.basePageId,
currentBasePageId: defaultPage?.basePageId,
currentPageId: defaultPage?.basePageId,
};
},
[ReduxActionTypes.UPDATE_PAGE_LIST]: (