-
Notifications
You must be signed in to change notification settings - Fork 178
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
72 additions
and
172 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
packages/app/src/overlay/canvas/ValidatorMetrics/InactiveGraph.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
// Copyright 2024 @polkadot-cloud/polkadot-staking-dashboard authors & contributors | ||
// SPDX-License-Identifier: GPL-3.0-only | ||
|
||
import { EraPointsLine } from 'library/Graphs/EraPointsLine' | ||
|
||
export const InactiveGraph = ({ | ||
width, | ||
height, | ||
}: { | ||
width: string | number | ||
height: string | number | ||
}) => ( | ||
<EraPointsLine | ||
syncing={false} | ||
pointsByEra={{}} | ||
width={width} | ||
height={height} | ||
/> | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 0 additions & 6 deletions
6
packages/app/src/overlay/modals/ValidatorMetrics/InactiveGraph.tsx
This file was deleted.
Oops, something went wrong.
154 changes: 0 additions & 154 deletions
154
packages/app/src/overlay/modals/ValidatorMetrics/index.tsx
This file was deleted.
Oops, something went wrong.