mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-29 12:01:32 +02:00
Merge pull request #24346 from overleaf/dp-breadcrumbs-flag
Remove remaining direct usage of editor-redesign feature flag GitOrigin-RevId: c17e377f7e6f7828a77e9620df6e31d1030a98cf
This commit is contained in:
@@ -19,6 +19,7 @@ import {
|
||||
} from './codemirror-context'
|
||||
import MathPreviewTooltip from './math-preview-tooltip'
|
||||
import Breadcrumbs from '@/features/ide-redesign/components/breadcrumbs'
|
||||
import { useIsNewEditorEnabled } from '@/features/ide-redesign/utils/new-editor-utils'
|
||||
|
||||
// TODO: remove this when definitely no longer used
|
||||
export * from './codemirror-context'
|
||||
@@ -40,7 +41,7 @@ function CodeMirrorEditor() {
|
||||
const isMounted = useIsMounted()
|
||||
|
||||
const newReviewPanel = useFeatureFlag('review-panel-redesign')
|
||||
const newEditor = useFeatureFlag('editor-redesign')
|
||||
const newEditor = useIsNewEditorEnabled()
|
||||
|
||||
// create the view using the initial state and intercept transactions
|
||||
const viewRef = useRef<EditorView | null>(null)
|
||||
|
||||
Reference in New Issue
Block a user