From a2da947a1f6bfccd4d1fe258060c7c677127fa55 Mon Sep 17 00:00:00 2001
From: David <33458145+davidmcpowell@users.noreply.github.com>
Date: Thu, 11 Jan 2024 11:42:03 +0000
Subject: [PATCH] Merge pull request #16437 from
overleaf/dp-remove-visual-editor-feedback-icon
Remove visual editor feedback badge
GitOrigin-RevId: c84cc7b6630642853848fad46695bff6ae2a990a
---
.../source-editor/components/editor-switch.tsx | 17 -----------------
1 file changed, 17 deletions(-)
diff --git a/services/web/frontend/js/features/source-editor/components/editor-switch.tsx b/services/web/frontend/js/features/source-editor/components/editor-switch.tsx
index f4d38b4209..b06a1ff919 100644
--- a/services/web/frontend/js/features/source-editor/components/editor-switch.tsx
+++ b/services/web/frontend/js/features/source-editor/components/editor-switch.tsx
@@ -5,7 +5,6 @@ import { sendMB } from '../../../infrastructure/event-tracking'
import isValidTeXFile from '../../../main/is-valid-tex-file'
import { useTranslation } from 'react-i18next'
import { PromotionOverlay } from './table-generator/promotion/popover'
-import { FeedbackBadge } from '@/shared/components/feedback-badge'
function EditorSwitch() {
const { t } = useTranslation()
@@ -57,26 +56,10 @@ function EditorSwitch() {
handleChange={handleChange}
/>
-
- {richTextAvailable && visual && (
- }
- />
- )}
)
}
-const VisualEditorFeedbackContent = () => (
- <>
- We have a new Visual Editor!
-
- Click to give feedback
- >
-)
-
const RichTextToggle: FC<{
checked: boolean
disabled: boolean