DEV: Remove legacy `MountWidget` usage in `docs-topic` component

Replaced conditional logic for `useGlimmerPostStream` with direct usage of the `Post` component, simplifying the `docs-topic` implementation.
This commit is contained in:
Sérgio Saquetim 2025-07-21 22:24:43 -03:00
parent cdf335b33c
commit 7ae77a39f3
No known key found for this signature in database
GPG Key ID: B4E3D7F11E793062
1 changed files with 1 additions and 7 deletions

View File

@ -72,13 +72,7 @@ export default class DocsTopic extends Component {
<div class="topic-content">
<h1>{{htmlSafe this.topic.fancyTitle}}</h1>
{{#if this.site.useGlimmerPostStream}}
<Post @post={{this.model}} />
{{else}}
{{! template-lint-disable no-capital-arguments }}
<MountWidget @widget="post" @model={{this.model}} @args={{this.post}} />
{{/if}}
</div>
<a class="docs-nav-link more" href="/t/{{this.topic.id}}">