rcmerci 8 months ago
parent
commit
de21b0a908
1 changed files with 1 additions and 2 deletions
  1. 1 2
      src/main/frontend/components/plugins.cljs

+ 1 - 2
src/main/frontend/components/plugins.cljs

@@ -216,8 +216,7 @@
 (defn format-number [num & {:keys [precision] :or {precision 2}}]
   (cond
     (< num 1000) (str num)
-    (and (>= num 1000))
-    (str (.toFixed (/ num 1000) precision) "k")))
+    (>= num 1000) (str (.toFixed (/ num 1000) precision) "k")))
 
 (rum/defc card-ctls-of-market < rum/static
   [item stat installed? installing-or-updating?]