mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 14:13:43 +01:00
Merge pull request #32244 from overleaf/ab-labs-in-feature-flags
[web] Merge Labs programme into the Feature flags system GitOrigin-RevId: db75e07bf3272becc11ef1eeda3850098b3daa9d
This commit is contained in:
committed by
Copybot
parent
6f3e0963b8
commit
671df33da3
@@ -6,7 +6,6 @@ import React, { FC, useCallback, useContext, useEffect, useMemo } from 'react'
|
||||
import { useFileTreeOpenContext } from './file-tree-open-context'
|
||||
import { useEditorManagerContext } from './editor-manager-context'
|
||||
import { debugConsole } from '@/utils/debugging'
|
||||
import { isInExperiment } from '@/utils/labs-utils'
|
||||
import { disambiguatePaths } from '../util/disambiguate-paths'
|
||||
import { isSplitTestEnabled } from '@/utils/splitTestUtils'
|
||||
|
||||
@@ -43,8 +42,7 @@ export const TabsProvider: FC<React.PropsWithChildren> = ({ children }) => {
|
||||
|
||||
const { openEntity } = useFileTreeOpenContext()
|
||||
const { openDocWithId, openFileWithId } = useEditorManagerContext()
|
||||
const tabsEnabled =
|
||||
isInExperiment('editor-tabs') && isSplitTestEnabled('editor-tabs')
|
||||
const tabsEnabled = isSplitTestEnabled('editor-tabs')
|
||||
|
||||
const [openTabs, setOpenTabs] = usePersistedState<PersistedTabInfo[]>(
|
||||
`open-tabs:${projectId}`,
|
||||
|
||||
Reference in New Issue
Block a user