From c6a63e30b281f631a47f0774fe2b4575150d8903 Mon Sep 17 00:00:00 2001 From: Lungu Cristian Date: Wed, 24 Jul 2024 13:54:30 +0300 Subject: [PATCH] fix: usage of web3-wallet (#20864) --- src/react_native/wallet_connect.cljs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/react_native/wallet_connect.cljs b/src/react_native/wallet_connect.cljs index 5001f2d7e4..168b61d5ac 100644 --- a/src/react_native/wallet_connect.cljs +++ b/src/react_native/wallet_connect.cljs @@ -51,9 +51,10 @@ (defn reject-session [{:keys [web3-wallet id reason]}] - (.rejectSession web3-wallet - (clj->js {:id id - :reason reason}))) + (oops/ocall web3-wallet + "rejectSession" + (bean/->js {:id id + :reason reason}))) (defn approve-session [{:keys [web3-wallet id approved-namespaces]}]