From 01acd1cd674d4652973a099025d7c5fe171db4d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9rgio=20Saquetim?= Date: Tue, 18 Mar 2025 01:53:41 -0300 Subject: [PATCH] Linting --- assets/javascripts/discourse/components/docs-topic.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/assets/javascripts/discourse/components/docs-topic.js b/assets/javascripts/discourse/components/docs-topic.js index 65e4137..f92a351 100644 --- a/assets/javascripts/discourse/components/docs-topic.js +++ b/assets/javascripts/discourse/components/docs-topic.js @@ -5,7 +5,6 @@ import { classNames } from "@ember-decorators/component"; import discourseDebounce from "discourse/lib/debounce"; import computed, { bind } from "discourse/lib/decorators"; import transformPost from "discourse/lib/transform-post"; -import { currentUser } from "discourse/tests/helpers/qunit-helpers"; @classNames("docs-topic") export default class DocsTopic extends Component { @@ -15,7 +14,7 @@ export default class DocsTopic extends Component { @reads("post.cooked") originalPostContent; @computed("currentUser", "model") - post(stream) { + post() { return transformPost(this.currentUser, this.site, this.model); }