fix use of legacy get.status.im domain
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
ef89c3c2f6
commit
c96313edda
|
@ -10,7 +10,7 @@
|
|||
[react/view {:style {:flex 1 :padding 10 :align-items :center :justify-content :center}}
|
||||
[react/text {:style {:font-weight :bold}}
|
||||
"Can't find web3 library"]
|
||||
[:a {:href "https://get.status.im/browse/status-im.github.io/dapp/"} "Open in Status"]])
|
||||
[:a {:href "https://join.status.im/b/status-im.github.io/dapp/"} "Open in Status"]])
|
||||
|
||||
(defview contract-panel [accounts]
|
||||
(letsubs [message [:get :message]
|
||||
|
@ -180,7 +180,7 @@
|
|||
|
||||
[ui/button "Install principles extension"
|
||||
(fn []
|
||||
(let [uri "https://get.status.im/extension/ipfs@QmcfsYnFvKXApcFTCNttpQvQKYxiMCqVx5MvsocFyrr2KA"]
|
||||
(let [uri "https://join.status.im/extension/ipfs@QmcfsYnFvKXApcFTCNttpQvQKYxiMCqVx5MvsocFyrr2KA"]
|
||||
(if (and web3 (.-currentProvider web3) (.-installExtension (.-currentProvider web3)))
|
||||
(.installExtension (.-currentProvider web3) uri)
|
||||
(when (exists? js/window.ethereum.status)
|
||||
|
@ -249,4 +249,4 @@
|
|||
(case view-id
|
||||
:web3 [web3-view]
|
||||
:dapp-store [dapp-store-view]
|
||||
[no-web3])))
|
||||
[no-web3])))
|
||||
|
|
Loading…
Reference in New Issue