Revert "DEV: glimmerify discourse-root (#17390)" (#17392)

This reverts commit 27408c7e14.
This commit is contained in:
Joffrey JAFFEUX 2022-07-08 15:28:40 +02:00 committed by GitHub
parent 27408c7e14
commit 9408ea4461
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 2 deletions

View File

@ -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);