From 44bd4ab7907f3656f5360d8c008ce61e9bce0a52 Mon Sep 17 00:00:00 2001 From: David <33458145+davidmcpowell@users.noreply.github.com> Date: Mon, 24 Nov 2025 09:58:29 +0000 Subject: [PATCH] Merge pull request #29802 from overleaf/dp-revert-beta Remove hack to give beta users access to the editor redesign GitOrigin-RevId: 40c5c2db9033dfb6569d655275e280ce29b898e2 --- .../js/features/ide-redesign/utils/new-editor-utils.ts | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/services/web/frontend/js/features/ide-redesign/utils/new-editor-utils.ts b/services/web/frontend/js/features/ide-redesign/utils/new-editor-utils.ts index ff167eb595..c2b8c06235 100644 --- a/services/web/frontend/js/features/ide-redesign/utils/new-editor-utils.ts +++ b/services/web/frontend/js/features/ide-redesign/utils/new-editor-utils.ts @@ -42,12 +42,7 @@ export const isSplitTestUser = () => { } export const canUseNewEditorAsExistingUser = () => { - const isBetaUser = getMeta('ol-user').betaProgram - - return ( - !canUseNewEditorAsNewUser() && - (isSplitTestEnabled('editor-redesign') || isBetaUser) - ) + return !canUseNewEditorAsNewUser() && isSplitTestEnabled('editor-redesign') } export const canUseNewEditorAsNewUser = () => {