Skip to content

Commit 954d6cf

Browse files
committed
Update epoch settings in explorer
1 parent c39b5b9 commit 954d6cf

File tree

1 file changed

+7
-5
lines changed
  • mithril-explorer/components/EpochSettings

1 file changed

+7
-5
lines changed

mithril-explorer/components/EpochSettings/index.js

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import React, {useEffect, useState} from 'react';
2-
import {Card, ListGroup} from "react-bootstrap";
1+
import React, { useEffect, useState } from 'react';
2+
import { Card, ListGroup } from "react-bootstrap";
33
import RawJsonButton from "../RawJsonButton";
4-
import {useSelector} from "react-redux";
4+
import { useSelector } from "react-redux";
55
import ProtocolParameters from "../ProtocolParameters";
66

77
export default function EpochSettings(props) {
@@ -36,7 +36,7 @@ export default function EpochSettings(props) {
3636
<div>
3737
<h2>
3838
Epoch Settings
39-
<RawJsonButton href={`${aggregator}/epoch-settings`} variant="outline-light" size="sm"/>
39+
<RawJsonButton href={`${aggregator}/epoch-settings`} variant="outline-light" size="sm" />
4040
</h2>
4141

4242
<Card>
@@ -46,7 +46,9 @@ export default function EpochSettings(props) {
4646
<ListGroup.Item>{epochSettings.epoch}</ListGroup.Item>
4747
</ListGroup>
4848
<Card.Title>Protocol Parameters</Card.Title>
49-
<ProtocolParameters protocolParameters={epochSettings.protocol}/>
49+
<ProtocolParameters protocolParameters={epochSettings.protocol} />
50+
<Card.Title>Next Protocol Parameters</Card.Title>
51+
<ProtocolParameters protocolParameters={epochSettings.next_protocol} />
5052
</Card.Body>
5153
</Card>
5254
</div>

0 commit comments

Comments
 (0)