[cm6] remove badge icon for toolbar in code editor (#13959)

GitOrigin-RevId: 33813eb1c22d651cf3ea599f30b626f93f8ef8ef
This commit is contained in:
Domagoj Kriskovic 2023-07-19 13:12:44 +02:00 committed by Copybot
parent 3a02fbf39d
commit 96e7c019bd

View file

@ -19,7 +19,6 @@ import { DetacherSynctexControl } from '../../pdf-preview/components/detach-sync
import DetachCompileButtonWrapper from '../../pdf-preview/components/detach-compile-button-wrapper'
import getMeta from '../../../utils/meta'
import { isVisual } from '../extensions/visual/visual'
import SplitTestBadge from '../../../shared/components/split-test-badge'
import { language } from '@codemirror/language'
import { minimumListDepthForSelection } from '../utils/tree-operations/ancestors'
@ -139,12 +138,6 @@ const Toolbar = memo(function Toolbar() {
active={searchPanelOpen(state)}
icon="search"
/>
{languageName === 'latex' && !visual && (
<SplitTestBadge
splitTestName="source-editor-toolbar"
displayOnVariants={['enabled']}
/>
)}
{showSourceToolbar && (
<>
<SwitchToPDFButton />