Peng Xiao преди 4 години
родител
ревизия
7b15a8970a
променени са 2 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 1 1
      src/main/frontend/components/block.cljs
  2. 1 1
      src/main/frontend/components/svg.cljs

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

@@ -362,7 +362,7 @@
          (last child)
          (let [{:keys [content children]} (last child)
                page-name (subs content 2 (- (count content) 2))]
-           (page-reference html-export? page-name (assoc config :children children) nil))))
+           (rum/with-key (page-reference html-export? page-name (assoc config :children children) nil) page-name))))
      (if (and label
               (string? label)
               (not (string/blank? label))) ; alias

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

@@ -531,7 +531,7 @@
 
 (def edit
   [:svg.h-6.w-6
-   {:stroke "currentColor", :viewbox "0 0 24 24", :fill "none"}
+   {:stroke "currentColor", :view-box "0 0 24 24", :fill "none"}
    [:path
     {:d
      "M15.232 5.232l3.536 3.536m-2.036-5.036a2.5 2.5 0 113.536 3.536L6.5 21.036H3v-3.572L16.732 3.732z",