Skip to content

Commit

Permalink
[CE-360] Fix page crashed when apply multi chain
Browse files Browse the repository at this point in the history
Set currentChainId value in chain page.

Change-Id: I083809a9ffed436cdafed7c4a55f7dd7d134cf7a
Signed-off-by: Haitao Yue <hightall@me.com>
  • Loading branch information
hightall committed May 10, 2018
1 parent c48f30a commit b2f4437
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions user-dashboard/js/dashboard/src/routes/Chain/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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')
}
Expand Down

0 comments on commit b2f4437

Please sign in to comment.