Skip to content

A platform for community discussion. Free, open, simple.

FIX: Linting error

Robin Ward02cb944fee4c
diff --git a/app/assets/javascripts/discourse/widgets/post.js.es6 b/app/assets/javascripts/discourse/widgets/post.js.es6
index 91b03d1d9b1..2f20c049003 100644
--- a/app/assets/javascripts/discourse/widgets/post.js.es6
+++ b/app/assets/javascripts/discourse/widgets/post.js.es6
@@ -220,7 +220,6 @@ createWidget("post-meta-data", {
},
html(attrs) {
-
let postInfo = [];
if (attrs.isWhisper) {
@@ -289,7 +288,7 @@ createWidget("post-meta-data", {
if (this.settings.displayPosterName) {
result.push(this.attach("poster-name", attrs));
}
- result.push(h('div.post-infos', postInfo));
+ result.push(h("div.post-infos", postInfo));
return result;
}