diff --git a/lotuspond/front/src/ChainExplorer.js b/lotuspond/front/src/ChainExplorer.js index b136858bc..3f91ccdb4 100644 --- a/lotuspond/front/src/ChainExplorer.js +++ b/lotuspond/front/src/ChainExplorer.js @@ -140,9 +140,12 @@ class ChainExplorer extends React.Component { const base = this.state.at - this.state.at % rows const className = row === this.state.at ? 'ChainExplorer-at' : (row < base ? 'ChainExplorer-after' : 'ChainExplorer-before') let info = (fetching) + let h = {row} if(this.state.cache[row]) { const ts = this.state.cache[row] + h = ts.Height + let msgc = -1 if(ts.Cids[0] && this.state.messages[ts.Cids[0]['/']]) { // TODO: get from all blks msgc = this.state.messages[ts.Cids[0]['/']].length @@ -160,7 +163,7 @@ class ChainExplorer extends React.Component { } - return