enable Charts
This commit is contained in:
parent
f4234fcfdc
commit
e2580dd039
3 changed files with 12 additions and 11 deletions
|
|
@ -52,12 +52,12 @@ function Header(props: HeaderProps) {
|
|||
>
|
||||
Assets
|
||||
</Link>
|
||||
{/* <Link
|
||||
<Link
|
||||
className={page === "Charts" ? "selected" : undefined}
|
||||
href="/charts"
|
||||
>
|
||||
Charts
|
||||
</Link> */}
|
||||
</Link>
|
||||
<Link
|
||||
className={page === "API" ? "selected" : undefined}
|
||||
href="/zano_api"
|
||||
|
|
|
|||
|
|
@ -57,11 +57,7 @@ function InfoTopPanel(props: InfoTopPanelProps) {
|
|||
|
||||
async function onBackClick(event: React.MouseEvent<HTMLAnchorElement, MouseEvent>) {
|
||||
event.preventDefault();
|
||||
if (document.referrer) {
|
||||
router.back();
|
||||
} else {
|
||||
router.push("/");
|
||||
}
|
||||
router.back();
|
||||
}
|
||||
return (
|
||||
<div
|
||||
|
|
|
|||
|
|
@ -157,10 +157,15 @@ function Charts() {
|
|||
title="Average Number Of Transactions Per Block"
|
||||
requestTitle="avg-trans-per-block"
|
||||
/>
|
||||
<Chart
|
||||
title="Hash Rate"
|
||||
requestTitle="hash-rate"
|
||||
/>
|
||||
<div style={{
|
||||
pointerEvents: "none",
|
||||
opacity: 0.4
|
||||
}}>
|
||||
<Chart
|
||||
title="Hash Rate (inactive)"
|
||||
requestTitle="hash-rate"
|
||||
/>
|
||||
</div>
|
||||
<Chart
|
||||
title="PoW Difficulty"
|
||||
requestTitle="difficulty-pow"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue