feat: remove test code

This commit is contained in:
Alisa | Side.one 2023-06-09 00:07:21 +08:00
parent 3a118a5393
commit 2d47ac734b

View File

@ -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;