Skip to content

Commit

Permalink
Fix summary-tag style (#18474)
Browse files Browse the repository at this point in the history
  • Loading branch information
ulisesmac authored Jan 16, 2024
1 parent 8d3883c commit 0fd7a4b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
7 changes: 6 additions & 1 deletion src/quo/components/tags/summary_tag/style.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,12 @@
(def collectible-image
{:width 24
:height 24
:border-radius 10})
:border-radius 8})

(def network
{:width 24
:height 24
:border-radius 12})

(def token-image
{:border-radius 12})
2 changes: 1 addition & 1 deletion src/quo/components/tags/summary_tag/view.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
:network
[rn/image
{:source image-source
:style style/token-image}]
:style style/network}]
:saved-address
[wallet-user-avatar/wallet-user-avatar
{:full-name label
Expand Down
4 changes: 1 addition & 3 deletions src/status_im/contexts/preview/quo/tags/summary_tag.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,7 @@

(defn view
[]
(let [state (reagent/atom
(merge {:type :token}
(data :token)))]
(let [state (reagent/atom (assoc (data :token) :type :token))]
(fn []
[preview/preview-container
{:state state
Expand Down

0 comments on commit 0fd7a4b

Please sign in to comment.