Browse Source

fix: deprecate attribute warning

Weihua Lu 4 years ago
parent
commit
70915b7c09
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/main/frontend/ui.cljs

+ 2 - 2
src/main/frontend/ui.cljs

@@ -124,13 +124,13 @@
        (merge
         {:type  "button"
          :class (str (util/hiccup->class klass) " " class)}
-        (dissoc option :background :class))
+        (dissoc option :background :class :small?))
        text]
       [:button.ui__button
        (merge
         {:type  "button"
          :class (str (util/hiccup->class klass) " " class)}
-        (dissoc option :background :class))
+        (dissoc option :background :class :small?))
        text])))
 
 (rum/defc notification-content