From f0fdbbd75e41bd683e19a1496c9721d19e80b8d9 Mon Sep 17 00:00:00 2001 From: keisuke-kanao Date: Wed, 31 Jul 2024 10:15:54 +0900 Subject: [PATCH] [BLOCK-1685] Fix some code in eosq (#49) --- eosq/src/pages/account/account-detail.page.tsx | 3 ++- eosq/src/streams/account-listeners.ts | 6 ++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/eosq/src/pages/account/account-detail.page.tsx b/eosq/src/pages/account/account-detail.page.tsx index f04ec959..4d2b42b1 100644 --- a/eosq/src/pages/account/account-detail.page.tsx +++ b/eosq/src/pages/account/account-detail.page.tsx @@ -69,7 +69,8 @@ export class AccountDetail extends ContentLoaderComponent { ) this.voteStream = streams.voteStream - this.accountStream = streams.voteStream + // ultra-keisuke --- BLOCK-1685 --- examine and fix some code in eosq block explorer + this.accountStream = streams.accountStream } unregisterStreams = async () => { diff --git a/eosq/src/streams/account-listeners.ts b/eosq/src/streams/account-listeners.ts index 90ccb662..47e575e3 100644 --- a/eosq/src/streams/account-listeners.ts +++ b/eosq/src/streams/account-listeners.ts @@ -101,8 +101,10 @@ export async function registerAccountDetailsListeners( requestAccountLinkedPermissions(accountName, blockNum), // requestContractTableRows(rexParams), // requestContractTableRows(rexfundsParams), - requestContractTableRows(cpuLoans), - requestContractTableRows(netLoans) + // ultra-keisuke --- BLOCK-1685 --- examine and fix some code in eosq block explorer + // commmented out below two lines, because the below handling of them had already been commented out. +// requestContractTableRows(cpuLoans), +// requestContractTableRows(netLoans) ]) .then((response: any) => { if (response && response.length >= 2) {