feat: remove test code
This commit is contained in:
parent
3a118a5393
commit
2d47ac734b
@ -26,15 +26,13 @@ let positions = ref([]);
|
||||
let validatorsData = ref([] as any);
|
||||
onMounted(async () => {
|
||||
// stakingStore.init();
|
||||
|
||||
validatorsData.value = await stakingStore.fetchAcitveValdiators();
|
||||
console.log(validatorsData.value, 'data');
|
||||
rpc.value = rpcList.value[0].address + '/consensus_state';
|
||||
fetchPosition();
|
||||
update();
|
||||
timer = setInterval(() => {
|
||||
update();
|
||||
}, 60000000);
|
||||
}, 6000);
|
||||
});
|
||||
onUnmounted(() => {
|
||||
timer = null;
|
||||
|
Loading…
Reference in New Issue
Block a user