Skip to content

Commit

Permalink
Fix wrong param passed to pos?
Browse files Browse the repository at this point in the history
  • Loading branch information
ulisesmac committed Jul 26, 2023
1 parent 1fe9670 commit 488c838
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/quo2/components/notifications/info_count.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
:or {customization-color :blue}
:as props}
amount]
(when (pos? 0)
(when (pos? amount)
[rn/view (assoc props :style (counter-style customization-color style))
[rn/text
{:style (merge typography/font-medium
Expand Down

0 comments on commit 488c838

Please sign in to comment.