From b2f44371f8804f9e296dfe446ed2ef00074e632a Mon Sep 17 00:00:00 2001 From: Haitao Yue Date: Thu, 10 May 2018 22:29:40 +0800 Subject: [PATCH] [CE-360] Fix page crashed when apply multi chain Set currentChainId value in chain page. Change-Id: I083809a9ffed436cdafed7c4a55f7dd7d134cf7a Signed-off-by: Haitao Yue --- user-dashboard/js/dashboard/src/routes/Chain/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/user-dashboard/js/dashboard/src/routes/Chain/index.js b/user-dashboard/js/dashboard/src/routes/Chain/index.js index ed1826f1..9b8ccdcc 100644 --- a/user-dashboard/js/dashboard/src/routes/Chain/index.js +++ b/user-dashboard/js/dashboard/src/routes/Chain/index.js @@ -90,6 +90,7 @@ class Chain extends PureComponent { const {loading} = this.state; const { queryByBlockId:{queryByBlockId } } = this.props.chain; const { queryByTransactionId : {queryByTransactionId}} = this.props.chain + const currentChainId = localStorage.getItem(`${window.apikey}-chainId`); const cb = () => { console.log('expired callback') }