diff --git a/app/assets/javascripts/discourse/widgets/post.js.es6 b/app/assets/javascripts/discourse/widgets/post.js.es6 index 91b03d1d9b..2f20c04900 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; }