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/view {:style {:flex 1 :padding 10 :align-items :center :justify-content :center}}
|
||||||
[react/text {:style {:font-weight :bold}}
|
[react/text {:style {:font-weight :bold}}
|
||||||
"Can't find web3 library"]
|
"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]
|
(defview contract-panel [accounts]
|
||||||
(letsubs [message [:get :message]
|
(letsubs [message [:get :message]
|
||||||
|
@ -180,7 +180,7 @@
|
||||||
|
|
||||||
[ui/button "Install principles extension"
|
[ui/button "Install principles extension"
|
||||||
(fn []
|
(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)))
|
(if (and web3 (.-currentProvider web3) (.-installExtension (.-currentProvider web3)))
|
||||||
(.installExtension (.-currentProvider web3) uri)
|
(.installExtension (.-currentProvider web3) uri)
|
||||||
(when (exists? js/window.ethereum.status)
|
(when (exists? js/window.ethereum.status)
|
||||||
|
|
Loading…
Reference in New Issue