Skip to content

Commit d1b6ab7

Browse files
author
grasshousedev
committed
PublicNetworkLedgersHistoryChart
1 parent 4c249fc commit d1b6ab7

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

app.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ app.get('/ledgers/public', function(req, res) {
3939

4040
var multi = redisClient.multi();
4141

42-
var days = 30;
42+
var days = 20;
4343

4444
for (var i = 0; i < days; i++) {
4545
response.push({date: day.format("DD-MM")});

src/components/App.js

+1
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,7 @@ export default class App extends React.Component {
184184
newLedgerEventName={LIVE_NEW_LEDGER}
185185
emitter={this.emitter}
186186
/>
187+
<PublicNetworkLedgersHistoryChart />
187188
</div>
188189
</div>
189190
</section>

src/components/PublicNetworkLedgersHistoryChart.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ export default class PublicNetworkLedgersHistoryChart extends React.Component {
5050
<Panel>
5151
<div className="widget-name">
5252
<span style={{borderBottom: '2px solid #0074B7'}}>Txs
53-
</span> &amp; <span style={{borderBottom: '2px solid #FF6F00'}}>Ops</span> in the last 30 days: Live Network
53+
</span> &amp; <span style={{borderBottom: '2px solid #FF6F00'}}>Ops</span> in the last 20 days: Live Network
5454
</div>
5555
{this.state.loading ?
5656
'Loading...'

0 commit comments

Comments
 (0)