forked from LaconicNetwork/cosmos-explorer
update endpoint stratigy
This commit is contained in:
+3
-1
@@ -13,7 +13,9 @@ router.beforeEach((to) => {
|
||||
const { chain } = to.params
|
||||
if(chain){
|
||||
const blockchain = useBlockchain()
|
||||
blockchain.setCurrent(chain.toString())
|
||||
if(chain !== blockchain.chainName) {
|
||||
blockchain.setCurrent(chain.toString())
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user