Remove equation preview beta badge (#23133)

GitOrigin-RevId: 1fb233dbceaf7f006f29b4f457084c802696e108
This commit is contained in:
Alf Eaton
2025-01-27 10:57:47 +00:00
committed by Copybot
parent daaf134b07
commit b0a1a4e9d8
@@ -29,7 +29,6 @@ import {
Dropdown as BS3Dropdown,
MenuItem as BS3MenuItem,
} from 'react-bootstrap'
import BetaBadgeIcon from '@/shared/components/beta-badge-icon'
const MathPreviewTooltipContainer: FC = () => {
const state = useCodeMirrorStateContext()
@@ -96,8 +95,6 @@ const MathPreviewTooltip: FC<{ mathContent: HTMLDivElement }> = ({
<>
<div className="ol-cm-math-tooltip">
<span ref={mathRef} />
<CustomSplitTestBadge />
<BootstrapVersionSwitcher
bs5={
<Dropdown align="end">
@@ -211,18 +208,4 @@ const MathPreviewTooltip: FC<{ mathContent: HTMLDivElement }> = ({
)
}
// Temporary SplitTest badge for just this component that always shows
// as in beta and doesn't have a tooltip
const CustomSplitTestBadge: FC = () => {
return (
<a
href="https://forms.gle/uDVGSqnBBJQ8fUPt5"
target="_blank"
rel="noopener noreferrer"
>
<BetaBadgeIcon phase="beta" />
</a>
)
}
export default MathPreviewTooltipContainer