Skip to content

Commit 4cc6cba

Browse files
committed
Fixes
1 parent 6b026fc commit 4cc6cba

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/quo/components/wallet/summary_info/style.cljs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
[quo.foundations.colors :as colors]))
44

55
(defn container
6-
[networks-to-show theme]
6+
[networks-to-show? theme]
77
{:width "100%"
8-
:height (if networks-to-show 90 56)
8+
:height (if networks-to-show? 90 56)
99
:border-radius 16
1010
:border-width 1
1111
:border-color (colors/theme-colors colors/neutral-10 colors/neutral-80 theme)
12-
:margin-bottom (if networks-to-show 4 8)})
12+
:margin-bottom (if networks-to-show? 4 8)})
1313

1414
(def info-container
1515
{:flex-direction :row

src/quo/components/wallet/summary_info/view.cljs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
[rn/view
2929
{:style (style/dot-divider theme)}])])
3030

31-
(def default-token-symbols
31+
(def ^:private default-token-symbols
3232
{:ethereum "ETH"
3333
:optimism "OETH"
3434
:arbitrum "ARB"
@@ -56,7 +56,7 @@
5656
(let [theme (quo.theme/use-theme)
5757
address (or (:address account-props) (:address token-props))]
5858
[rn/view
59-
{:style (style/container networks-to-show theme)}
59+
{:style (style/container (seq? networks-to-show) theme)}
6060
[rn/view
6161
{:style style/info-container}
6262
(case type

0 commit comments

Comments
 (0)