Skip to content

Commit 95b2b75

Browse files
[#20909] fix: address feedbacks
1 parent 7d3f13f commit 95b2b75

File tree

1 file changed

+1
-3
lines changed
  • src/status_im/contexts/wallet/wallet_connect

1 file changed

+1
-3
lines changed

src/status_im/contexts/wallet/wallet_connect/core.cljs

+1-3
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,7 @@
5252
[proposal]
5353
(let [metadata (get-in proposal [:params :proposer :metadata])
5454
origin (get-in proposal [:verifyContext :verified :origin])]
55-
(if metadata
56-
metadata
57-
{:url origin})))
55+
(or metadata {:url origin})))
5856

5957
(defn get-current-request-dapp
6058
[request sessions]

0 commit comments

Comments
 (0)