Browse Source

fix: Anything entered into the code box will be lost

close #2805
Tienson Qin 4 years ago
parent
commit
237b003751
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/frontend/components/block.cljs

+ 1 - 1
src/main/frontend/components/block.cljs

@@ -2460,7 +2460,7 @@
 (rum/defc src-cp < rum/static
   [config options html-export?]
   (when options
-    (let [{:keys [lines language options _]} options
+    (let [{:keys [lines language]} options
           attr (when language
                  {:data-lang language})
           code (join-lines lines)]