Skip to content

Commit

Permalink
remove vAxis label
Browse files Browse the repository at this point in the history
  • Loading branch information
gala1234 committed Aug 16, 2022
1 parent 574e5cf commit 1dae3c3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion explorer/src/components/UptimeChart.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { ApiState, UptimeStoryResponse } from '../typeDefs/explorer-api';
interface ChartProps {
title?: string;
xLabel: string;
yLabel: string;
yLabel?: string;
uptimeStory: ApiState<UptimeStoryResponse>;
loading: boolean;
}
Expand Down
7 changes: 1 addition & 6 deletions explorer/src/pages/MixnodeDetail/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -139,12 +139,7 @@ const PageMixnodeDetailWithState: React.FC = () => {
{uptimeStory && (
<ContentCard title="Routing Score">
{uptimeStory.error && <ComponentError text="There was a problem retrieving routing score." />}
<UptimeChart
loading={uptimeStory.isLoading}
xLabel="date"
yLabel="Routing Score"
uptimeStory={uptimeStory}
/>
<UptimeChart loading={uptimeStory.isLoading} xLabel="date" uptimeStory={uptimeStory} />
</ContentCard>
)}
</Grid>
Expand Down

0 comments on commit 1dae3c3

Please sign in to comment.