diff --git a/app/assets/javascripts/discourse/app/components/glimmer-header.gjs b/app/assets/javascripts/discourse/app/components/glimmer-header.gjs index 344c8b4aa1d..57e541c735c 100644 --- a/app/assets/javascripts/discourse/app/components/glimmer-header.gjs +++ b/app/assets/javascripts/discourse/app/components/glimmer-header.gjs @@ -4,7 +4,6 @@ import { action } from "@ember/object"; import didInsert from "@ember/render-modifiers/modifiers/did-insert"; import { inject as service } from "@ember/service"; import { modifier } from "ember-modifier"; -import concatClass from "discourse/helpers/concat-class"; import scrollLock from "discourse/lib/scroll-lock"; import DiscourseURL from "discourse/lib/url"; import { scrollTop } from "discourse/mixins/scroll-top"; @@ -21,11 +20,6 @@ import PluginOutlet from "./plugin-outlet"; const SEARCH_BUTTON_ID = "search-button"; -let _customHeaderClasses = []; -export function addCustomHeaderClass(className) { - _customHeaderClasses.push(className); -} - export default class GlimmerHeader extends Component { @service router; @service search; @@ -53,10 +47,6 @@ export default class GlimmerHeader extends Component { }; }); - get customHeaderClasses() { - return _customHeaderClasses.join(" "); - } - @action headerKeyboardTrigger(msg) { switch (msg.type) { @@ -168,10 +158,7 @@ export default class GlimmerHeader extends Component { }