REFACToR: removes useless assignment to local variable (#9675)

REFACToR: removes useless assignment to local variable (#9675)

diff --git a/app/assets/javascripts/pretty-text/engines/discourse-markdown/quotes.js b/app/assets/javascripts/pretty-text/engines/discourse-markdown/quotes.js
index c66122f..92819ee 100644
--- a/app/assets/javascripts/pretty-text/engines/discourse-markdown/quotes.js
+++ b/app/assets/javascripts/pretty-text/engines/discourse-markdown/quotes.js
@@ -103,7 +103,7 @@ const rule = {
       token = state.push("quote_controls_open", "div", 1);
       token.attrs = [["class", "quote-controls"]];
 
-      token = state.push("quote_controls_close", "div", -1);
+      state.push("quote_controls_close", "div", -1);
 
       if (avatarImg) {
         token = state.push("html_inline", "", 0);
@@ -144,10 +144,10 @@ const rule = {
         token.content = ` ${displayName}:`;
       }
 
-      token = state.push("quote_header_close", "div", -1);
+      state.push("quote_header_close", "div", -1);
     }
 
-    token = state.push("bbcode_open", "blockquote", 1);
+    state.push("bbcode_open", "blockquote", 1);
   },
 
   after: function(state) {

GitHub sha: a078b086

This commit appears in #9675 which was approved by eviltrout. It was merged by jjaffeux.