DEV: removes useless assignment, buttonTitle is always overwritten (#60)

DEV: removes useless assignment, buttonTitle is always overwritten (#60)

diff --git a/assets/javascripts/discourse/widgets/vote-button.js.es6 b/assets/javascripts/discourse/widgets/vote-button.js.es6
index 26d2397..e880905 100644
--- a/assets/javascripts/discourse/widgets/vote-button.js.es6
+++ b/assets/javascripts/discourse/widgets/vote-button.js.es6
@@ -27,7 +27,8 @@ export default createWidget("vote-button", {
   },
 
   html(attrs) {
-    var buttonTitle = I18n.t("voting.vote_title");
+    let buttonTitle;
+
     if (!this.currentUser) {
       if (attrs.vote_count) {
         buttonTitle = I18n.t("voting.anonymous_button", {

GitHub sha: 2276d027

This commit appears in #60 which was approved by hnb-ku. It was merged by jjaffeux.