From 57ea476e13d7820f09e9a34824f0b54b989b73c6 Mon Sep 17 00:00:00 2001 From: NguyenAnhQuan Date: Mon, 10 Nov 2025 11:27:35 +0700 Subject: [PATCH] refactor: 101125/remove_mock_data --- src/views/Home/components/UTXOTab.vue | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/views/Home/components/UTXOTab.vue b/src/views/Home/components/UTXOTab.vue index 636dbdb..5acfec7 100644 --- a/src/views/Home/components/UTXOTab.vue +++ b/src/views/Home/components/UTXOTab.vue @@ -11,15 +11,7 @@ const neptuneStore = useNeptuneStore() const loading = ref(false) -const utxosList = computed(() => [ - ...(neptuneStore.getUtxos || []), - ...Array.from({ length: 18 }, (_, i) => ({ - additionRecord: `additionRecord${i}`, - amount: `${i}.00000000`, - blockHeight: `blockHeight${i}`, - utxoHash: `utxoHash${i}`, - })), -]) +const utxosList = computed(() => (neptuneStore.getUtxos?.length ? neptuneStore.getUtxos : [])) const inUseUtxosCount = computed(() => (utxosList.value?.length ? utxosList.value.length : 0)) const inUseUtxosAmount = computed(() => {