Răsfoiți Sursa

fix: navigating to a page with an icon doesn't crash

Gabriel Horner 2 ani în urmă
părinte
comite
b47c86504d
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      src/main/frontend/components/icon.cljs

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

@@ -14,7 +14,7 @@
             [frontend.handler.property.util :as pu]))
 
 (defn icon
-  [icon & opts]
+  [icon & [opts]]
   (cond
     (and (= :emoji (:type icon)) (:id icon))
     [:em-emoji (merge {:id (:id icon)}