This reverts commit 27408c7e14
.
This commit is contained in:
parent
27408c7e14
commit
9408ea4461
|
@ -1,3 +1,11 @@
|
|||
import GlimmerComponent from "discourse/components/glimmer";
|
||||
import Component from "@ember/component";
|
||||
|
||||
export default class DiscourseRoot extends GlimmerComponent {}
|
||||
let componentArgs = { tagName: "div" };
|
||||
|
||||
// TODO: Once we've moved to Ember CLI completely we can remove this block
|
||||
// eslint-disable-next-line no-undef
|
||||
if (!Ember.FEATURES.EMBER_GLIMMER_SET_COMPONENT_TEMPLATE) {
|
||||
componentArgs = { tagName: "" };
|
||||
}
|
||||
|
||||
export default Component.extend(componentArgs);
|
||||
|
|
Loading…
Reference in New Issue