A platform for community discussion. Free, open, simple.
DEV: Convert CategoriesWithFeaturedTopics to a glimmer component (#43396)
Jarek Radosz3c509a445862
diff --git a/frontend/discourse/app/components/categories-with-featured-topics.gjs b/frontend/discourse/app/components/categories-with-featured-topics.gjsindex 356697a72e8..89dd19d7b44 100644--- a/frontend/discourse/app/components/categories-with-featured-topics.gjs+++ b/frontend/discourse/app/components/categories-with-featured-topics.gjs@@ -1,13 +1,9 @@-/* eslint-disable ember/no-classic-components */-import Component from "@ember/component";-import { tagName } from "@ember-decorators/component";import CategoriesOnly from "discourse/components/categories-only";-@tagName("")-export default class CategoriesWithFeaturedTopics extends Component {- <template>- <div ...attributes>- <CategoriesOnly @categories={{this.categories}} @showTopics="true" />- </div>- </template>-}+const CategoriesWithFeaturedTopics = <template>+ <div ...attributes>+ <CategoriesOnly @categories={{@categories}} @showTopics="true" />+ </div>+</template>;++export default CategoriesWithFeaturedTopics;