Skip to content

A platform for community discussion. Free, open, simple.

DEV: Remove deprecated `HighlightText` (#23495)

Jarek Radosz08336ed682c6
diff --git a/app/assets/javascripts/discourse/app/components/highlight-text.js b/app/assets/javascripts/discourse/app/components/highlight-text.js
deleted file mode 100644
index 9d6f9626256..00000000000
--- a/app/assets/javascripts/discourse/app/components/highlight-text.js
+++ /dev/null
@@ -1,12 +0,0 @@
-import deprecated from "discourse-common/lib/deprecated";
-import highlightSearch from "discourse/components/highlight-search";
-
-export default highlightSearch.extend({
- init() {
- this._super(...arguments);
- deprecated(
- "`highlight-text` component is deprecated, use the `highlight-search` instead.",
- { id: "discourse.highlight-text-component" }
- );
- },
-});