mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 22:23:42 +01:00
[web] Tear down tabs feature flag GitOrigin-RevId: c25a3abe5c4b85f9802751bb1882385ed9c50a4a
7 lines
227 B
TypeScript
7 lines
227 B
TypeScript
import { useProjectSettingsContext } from '@/features/ide-settings/context/project-settings-context'
|
|
|
|
export const useAreTabsEnabled = () => {
|
|
const { editorTabs } = useProjectSettingsContext()
|
|
return Boolean(editorTabs)
|
|
}
|