A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.
fix: delete no used text
shuai13173452796d
diff --git a/ui/src/hooks/useReportModal/index.tsx b/ui/src/hooks/useReportModal/index.tsxindex 0424cfc4..fe8d4593 100644--- a/ui/src/hooks/useReportModal/index.tsx+++ b/ui/src/hooks/useReportModal/index.tsx@@ -187,11 +187,7 @@ const useReportModal = (callback?: () => void) => {}value={content.value}isInvalid={content.isInvalid}- placeholder={- item.content_type === 'text'- ? t('input_placeholder')- : t('textarea_placeholder')- }+ placeholder={item.placeholder}onChange={(e) =>setContent({value: e.target.value,diff --git a/ui/src/i18n/locales/en.json b/ui/src/i18n/locales/en.jsonindex 31f561ff..bbbb04ad 100644--- a/ui/src/i18n/locales/en.json+++ b/ui/src/i18n/locales/en.json@@ -199,9 +199,7 @@},"msg": {"empty": "Please select a reason."- },- "input_placeholder": "Enter the existing question link",- "textarea_placeholder": "Let us know specifically what you are concerned about"+ }},"tag_modal": {"title": "Create New Tag",